Convert a list of integers to string

Last Updated On Thursday 20th Jan 2022

python map() function

The map() built-in function returns an iterator after applying the function to each item in the sequence.

python convert int to string

Use the join method of the empty string to join all of the strings together with the empty string in between

	new = [1,2,3,4,5,6]
print(''.join(map(str,new))) # 123456

convert list of integers to string python

	grp = ""

for digit in new:
    grp += str(digit)

	grp2 = ['a','b','c','d']

print(''.join(grp2)) # abcd