How to convert integers in list to string in python

You can use map() to apply str() to each value in your array:

a = map(str, range(0, 10))

Leave a Comment