Pāriet uz saturu

Z15570: Atšķirības starp versijām

No ''Wikifunctions''
➕Python avoiding truthiness
 
NiferO (diskusija | devums)
Translated content to igbo
 
(Viena starpversija, ko saglabājis viens cits lietotājs, nav parādītas)
11. rindiņa: 11. rindiņa:
"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"
}
}
},
},
22. rindiņa: 22. rindiņa:
"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)"
}
}
]
]
39. rindiņa: 44. rindiņa:
"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"
}
}
]
]

Pašreizējā versija, 2024. gada 17. jūnijs, plkst. 23.58

This page displays in a limited way without JavaScript.