Let's say that I have a list of integer-lists:
start=[[1,2,3],[4,5,6],[7,8,9]]
And I want to convert this into:
result=[["1","2","3"],["4","5","6"],["7","8","9"]]
I could solve this issue by creating my own function. Is there a way to solve it without a custom function?
def stringify(x):
return map(str,x)
start = [[1,2,3],[4,5,6],[7,8,9]]
result = map(stringify,start)