Pređi na sadržaj

Z15570 — razlika između izmena

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

Verzija na datum 8. april 2024. u 12:55

This page displays in a limited way without JavaScript.