Is there any easy way or function to determine the greatest number in a python list? I could just code it, as I only have three numbers, however it would make the code a lot
max is a builtin function in python, which is used to get max value from a sequence, i.e (list, tuple, set, etc..)
max
print(max([9, 7, 12, 5])) # prints 12