change int to list python code example
Example 1: change list to int in python
test_list = list(map(int,test_list))
Example 2: python how to put int into list
numList=[1,2,3]
num=4
numList.append(num)
test_list = list(map(int,test_list))
numList=[1,2,3]
num=4
numList.append(num)