标签: python-3.x
我开始学习Python3。 下面的代码段给出了错误 -
TypeError: print() takes 0 positional arguments but 1 was given
def myprint(arg): print(arg) def callbk(func, arg): func(arg) func(arg) callbk(myprint, 'Hello World')