- 1
Why is finding items in a list valid only for strings and not integers?
words=[1,2,3,4,5] print( 1 in words) print (7 in words) print(5 in words) No output
1 Antwort
+ 3
Output:
True
False
True
... in code playground ^^
words=[1,2,3,4,5] print( 1 in words) print (7 in words) print(5 in words) No output