Python program to find largest number in a list
Given a list of numbers, the task is to write a Python program to find the largest number in given list. Examples:
Input : list1 = [10, 20, 4] Output : 20 Input : list2 = [20, 10, 20, 4, 100] Output : 100
Method 1 : Sort the list in ascending order and print the last element in the list.