且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

从函数列表中返回项目.Python

更新时间:2022-04-07 23:13:09

您正在打印 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.