args=(i)
不是tuple
args=(i,)
通过添加逗号,形成tuple
Add a comma; tuples are formed by the comma, not the parentheses (although you need parentheses to disambiguate the tuple from other arguments in a call)
args=(i)
不是tuple
args=(i,)
通过添加逗号,形成tuple
Add a comma; tuples are formed by the comma, not the parentheses (although you need parentheses to disambiguate the tuple from other arguments in a call)