EADST

Python: Convert String to Integer

Python: Convert String to Integer

string_list = ['0', '1', '2']
int_list = list(map(int, string_list))
# int_list  = [int(x) for x in string_list]
相关标签
About Me
XD
Goals determine what you are going to be.
Category
标签云
站点统计

本站现有博文242篇,共被浏览290348

本站已经建立1778天!

热门文章
文章归档
回到顶部