![](/img/trans.png)
[英]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.