how to return a list as a int in python code example Example: change list to int in python test_list = list(map(int,test_list))