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))
本文共 160 字,大约阅读时间需要 1 分钟。
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