Write a function nth_largest that takes any list of numbers num_lst and a positive integer n, and that returns the nth largest element in num_lst. For example, if lst = [-4, -5, 1, 6, 2, -7, 5], then nth_largest(lst, 2)should return 5 and nth_largest(lst, 5) should return-4.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here