Aller au contenu

Z15570: Diferans ant vèsyon yo

Depi Wikifunctions
➕Python avoiding truthiness
 
NiferO (diskisyon | kontribisyon)
Translated content to igbo
 
(1 revizyon entèmedyè pa yon lòt itilizatè pa afiche)
Liy 11 : Liy 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"
}
}
},
},
Liy 22 : Liy 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)"
}
}
]
]
Liy 39 : Liy 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"
}
}
]
]

Vèsyon kounye a ki date de 17 jen 2024 à 23:58

Affichage réduit de cette page sans Javascript.