Função embutida não funciona com o Spyder

Estou tentando usar a função max no Python 3,6:

print('Maximum is:', max(1, 3, 2, 5, 4))

E o resultado é

  File "E:/ProgramyRobione/untitled1.py", line 2, in <module>
    print('Maximum is:', max(1, 3, 2, 5, 4))

TypeError: 'int' object is not callable

Estou usando o Spyder e essa linha é tudo o que esse código deve fazer.