Largest number in a List

 # Function - largest number in a list


def fnMax(L):

return max(L)


L1 = eval(input("Enter a List of numbers : "))

print("Largest number in given List = ", fnMax(L1))


No comments:

Post a Comment

Don't be a silent reader...
Leave your comments...

Anu