python如何将list中的字符转为数字?
list=['0','1','2','3','4','5','6','7','8','9']想转化为list=[0,1,2,3,4,5,6,7,8,9]...
list=['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']
想转化为list=[0, 1 ,2, 3, 4, 5, 6, 7, 8, 9] 展开
想转化为list=[0, 1 ,2, 3, 4, 5, 6, 7, 8, 9] 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询