13/19 max() function


maximum = max(1,4,5,8)

print maximum

the above code is what i used but gives me the error below when i submit

Traceback (most recent call last):
File "python", line 3, in
TypeError: 'tuple' object is not callable

I can't figure out what is wrong with my code.


never mind the code works now after refreshing the page haha


Try putting a space between each number. This worked for me.
maximum = max(1, 4, 5, 8)
print maximum