[Solved] Is there a way to generate a list string within Python, without any other 3rd party packages?

[ad_1]

You can simply map each integer to string using inbuilt map function and map returns iterator so you can convert it into list.

list(map(str, range(11))) should do.

output:

['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10']

[ad_2]

solved Is there a way to generate a list string within Python, without any other 3rd party packages?