python 3.x - am getting an error on how to use the .max() function. how can i proceed? -


am getting error?

enter image description here

traceback (most recent call last):
file "python", line 5, in <module>
nameerror: name 'maximum' not defined

you have return maximum in max() , call defined function in print or put print(maximum) in max() definition , call defined function.

i suggest rename function.


Comments