Mar-10-2019, 11:28 AM
hi,
you want to use the right method but not with the right way.
for using map, the first item is a fonction type lambda.
for using lambda, if "x" is your variable for iteration, you can do that :
you want to use the right method but not with the right way.
for using map, the first item is a fonction type lambda.
for using lambda, if "x" is your variable for iteration, you can do that :
outputlist= list(map(lambda x: str(x), inputlist))hope this will be helpful.