Write a Python program to find N largest element from given list of integers


Topic: Write a Python program to find N largest element from given list of integers

Solution

l = [1000,298,3579,100,200,-45,900] 
n = 4
l.sort() 
print(l[-n:]) 



List all Python Programs