coverting all the list element to string using python?

前端 未结 0 999
心在旅途
心在旅途 2021-01-06 17:22

I have a list:

roll = [1,2,3]

For converting each of the element into a string, can we directly do roll=str(roll) rather that it

相关标签:
回答
  • 消灭零回复
提交回复
热议问题