更新时间:2022-04-07 23:13:09
您正在打印 func 的返回码,即 none.只需调用 func(my_list) 而不使用 print.
func
none
func(my_list)
print
You are printing the return code from func which is none. Just call func(my_list) without the print.
Python:json.loads返回以"u"为前缀的项目
python multiprocessing:某些函数完成后不返回(队列内容太大)
python多处理:某些函数完成后不返回(队列材料太大)
返回较大列表中每N个项目的列表的Python方式
Python:如何返回布尔值列表以查看一个列表中的元素是否在另一列表中
优雅地应用Python函数列表
在python中创建函数列表(python函数关闭错误?)
从函数列表中返回项目.Python
优雅地按顺序应用 Python 函数列表
python从列表中返回连续整数的列表