list of int to string python code example
Example 1: convert list of int to string python
integers = [1, 2, 3, 4]
stringed = ''.join(map(str,new))
Example 2: python join array of ints
Couple different options
> print ",".join(str(n) for n in numbers)
> ', '.join(map(str, myList))
Example 3: convert list of strings to int python
test_list = ['1', '4', '3', '6', '7']
print ("Original list is : " + str(test_list))
for i in range(0, len(test_list)):
test_list[i] = int(test_list[i])
print ("Modified list is : " + str(test_list))