2019-11-11 Python将字符串数组转为数字数组的方式

2019-11-11  本文已影响0人  Shalom小白

关键代码:

b = list(map(int, a))

a为字符串数组;
b为数字数组。

上一篇 下一篇

猜你喜欢

热点阅读