13. Max()


# Set maximum to the max value of any set of numbers on line 3!

maximum = 15

print max(maximum)

Please help me


Best advice I can give to you is read the Python Docs on the max() function,



Hi as bandit said read the docs.

In the comment, it says find the max value of any set of numbers, 15 is not a set.

So you need to set the variable maximum to a set e.g. (1,3,5,20,15)


Go to AFTER where is says maximum on line 3. your page should look like below. then enter max( ) put in a string of numbers separated by commas. You are finding the maximum number in the string of numbers.

3. maximum = max(140, 20, 200)

You are done.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.