+ 2
Can someone explain to me what is mean? x in x
Help me I did not understand why he gave me false Python Code is: x=[1,3,5] print(x in x)
3 Respuestas
+ 2
Because x is an array and with x in x you Check for an array in an array but x only has numbers as elements
+ 1
If you use:
for i in x:
print (i in x)
It would be true i guess
+ 1
Ok thank you Jnn