我正在尝试使用Python 3,6中的max函数:
print('Maximum is:', max(1, 3, 2, 5, 4))
Run Code Online (Sandbox Code Playgroud)
结果是
File "E:/ProgramyRobione/untitled1.py", line 2, in <module>
print('Maximum is:', max(1, 3, 2, 5, 4))
TypeError: 'int' object is not callable
Run Code Online (Sandbox Code Playgroud)
我正在使用Spyder,那条线就是代码应该做的.