[英]how to remove an item in a list of list of string using index in python
[英]How to remove a string within a list item in python
在一个项目上,我目前正在返回如下列表:
[u'40620', u'00700', u'24150', u'11700']
如何编辑列表,以便仅返回整数值:
[40620, 00700, 24150, 11700]
谢谢!
简单的一个班轮:
results = map(int, results)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.