convert one element list to number python code example
Example 1: change list to int in python
test_list = list(map(int,test_list))
Example 2: python make integer into a list
res = [int(x) for x in str(num)]
test_list = list(map(int,test_list))
res = [int(x) for x in str(num)]