I have this code that converts all int elemets of a list to strings:
def convert(x):
for i in range(0, len(x)):
x[i] = str(x[i])
return x
How can I write the function in only one line, using map()?
Tried writing the for loop in one line but it doesn't seem to work.