Write a program to find the largest number in a list


Topic: Write a program to find the largest number in a list

Solution

list1 = [10, 20, 4, 45, 99] 
list1.sort() 
print("Largest element is:", list1[-1]) 



List all Python Programs