Fara í innihald

„Z15570“: Munur á milli breytinga

Úr Wikifunctions
➕Python avoiding truthiness
 
NiferO (spjall | framlög)
Translated content to igbo
 
(Ein millibreyting eftir einn annan notanda ekki sýnd)
Lína 11: Lína 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"
}
}
},
},
Lína 22: Lína 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)"
}
}
]
]
Lína 39: Lína 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"
}
}
]
]

Nýjasta útgáfa síðan 17. júní 2024 kl. 23:58

This page displays in a limited way without JavaScript.