001、
>>> list1 = [111, 222, 333] >>> list1 [111, 222, 333] >>> list1 = [str(i) for i in list1] ## 将列表中数值转换为字符串 >>> list1 ['111', '222', '333']
标签:python,list1,333,列表,111,字符串,222 From: https://www.cnblogs.com/liujiaxin2018/p/17467619.html
001、
>>> list1 = [111, 222, 333] >>> list1 [111, 222, 333] >>> list1 = [str(i) for i in list1] ## 将列表中数值转换为字符串 >>> list1 ['111', '222', '333']
标签:python,list1,333,列表,111,字符串,222 From: https://www.cnblogs.com/liujiaxin2018/p/17467619.html