Aller au contenu

Z15570 : Diférans ant vèrsyon

Di Wikifunctions
➕Python avoiding truthiness
 
prefer “item” to “element” in source code (after “wikilambda-list-item-label”)
Lign 11 : Lign 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"
}
}
},
},

Vèrsyon di 8 avril 2024 à 12:55

Affichage réduit de cette page sans Javascript.