+ 1

Variable

Why cant the variable phrase Not=x be used?

22nd Feb 2018, 11:55 PM
Sulaiman Bada
Sulaiman Bada - avatar
1 Réponse
+ 3
not is already a thing. it is a "boolean operator" .. it is used, for example, to check if a list contains something. myList=[1,2,4] If 3 not in myList: print("3 is missing")
23rd Feb 2018, 12:16 AM
LordHill
LordHill - avatar