python 列表中的数字转为字符串

  • Post author:
  • Post category:python


1.

list1 = [1,2,3,4,5]


list1


=


[ str




(x)


for


x


in


list1 ]

2.

list1 = [1,2,3,4,5]


list1


=


list(map(str,list1))

转载于:https://www.cnblogs.com/chen-wg/p/10837530.html