input int in python list code example Example: python int in list myList = [1,2,3,4,5] if 3 in myList: print("3 is present")