Saltu al enhavo

Z15570: Malsamoj inter versioj

El Wikifunctions
➕Python avoiding truthiness
 
NiferO (diskuto | kontribuoj)
Translated content to igbo
 
(Unu meza versio de alia uzanto ne montriĝas)
Linio 11: Linio 11:
"Z1K1": "Z16",
"Z1K1": "Z16",
"Z16K1": "Z610",
"Z16K1": "Z610",
"Z16K2": "def Z12684(Z12684K1):\n\tfor element in Z12684K1:\n\t\tif not element == True:\n\t\t\treturn False\n\treturn True"
"Z16K2": "def Z12684(Z12684K1):\n\tfor item in Z12684K1:\n\t\tif not item == True:\n\t\t\treturn False\n\treturn True"
}
}
},
},
Linio 22: Linio 22:
"Z11K1": "Z1002",
"Z11K1": "Z1002",
"Z11K2": "are all true Python (explicitly True)"
"Z11K2": "are all true Python (explicitly True)"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1014",
"Z11K2": "Ha niile bụ ezi Python (n'ụzọ doro anya eziokwu)"
}
}
]
]
Linio 39: Linio 44:
"Z11K1": "Z1002",
"Z11K1": "Z1002",
"Z11K2": "Treat non-Boolean values as False"
"Z11K2": "Treat non-Boolean values as False"
},
{
"Z1K1": "Z11",
"Z11K1": "Z1014",
"Z11K2": "Were ụkpụrụ ndị na-abụghị nke Boolean dị ka ụgha"
}
}
]
]

Nuna versio ekde 23:58, 17 jun. 2024

This page displays in a limited way without JavaScript.