13/19 max() function


#1

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.


#2

never mind the code works now after refreshing the page haha


#3

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