single element list to int python code example Example: convert each element of list to int python test_list = list(map(int, test_list))