如何在python 3中将字符串转换为int?

时间:2018-07-28 19:17:52

标签: python-3.x

monthwise_sub = list(map(int, read_from_csv(infile_csv, month=True)[1]))

运行此命令时,我会得到

ValueError: invalid literal for int() with base 10: "(1, 0, 'Friday')"

0 个答案:

没有答案