explain 'in', 'not in' with syntax and example in python
Answers
Answered by
0
Explanation:
l=[2,3,4,5,6]
n=len(l)
if 2 not in l:
print( l)
if 2 in l:
print( l)
please mark me as brainlist if u like my answer and also thanks to my answer...
Similar questions