Мазмұнға өту

Z15570: Нұсқалар арасындағы айырмашылық

Wikifunctions жобасынан
➕Python avoiding truthiness
 
prefer “item” to “element” in source code (after “wikilambda-list-item-label”)
11-жол: 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"
}
}
},
},

12:55, 2024 ж. сәуірдің 8 кезіндегі нұсқа

This page displays in a limited way without JavaScript.