我将使用以下内容:
# Get an array of numbersnumbers = map(float, '1,2,3,4'.split(','))# Now get the sumtotal = sum(numbers)
上一篇 (Python)列表索引超出范围-迭代[重复]
下一篇 在多线程中使用win32com
版权所有 (c)2021-2022 MSHXW.COM
ICP备案号:晋ICP备2021003244-6号