python int in list

Solutions on MaxInterview for python int in list by the best coders in the world

showing results for - "python int in list"
Serena
25 Aug 2019
1myList = [1,2,3,4,5]
2
3if 3 in myList:
4    print("3 is present")