how to convert a integer to list of integers in python code example Example: python int in list myList = [1,2,3,4,5] if 3 in myList: print("3 is present")