Op den Inhalt sprangen

Z15570: Ënnerscheed tëscht de Versiounen

Vu Wikifunctions
➕Python avoiding truthiness
 
NiferO (Diskussioun | Kontributiounen)
Translated content to igbo
 
(Eng Tëscheversioun vun engem anere Benotzer gëtt net gewisen)
Linn 11: Linn 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"
}
}
},
},
Linn 22: Linn 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)"
}
}
]
]
Linn 39: Linn 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"
}
}
]
]

Aktuell Versioun vum 23:58, 17. Jun. 2024

Diese Seite wird ohne JavaScript nur in eingeschränkter Weise angezeigt.