Need to print second Maximum Number in a given List
Description - Given a list of numbers, find the second largest number in the list.
Note:- There might be repeated numbers in the list. If there is only one number present in the list, return 'not present'.
I have tried to directly sort it but not able to make the not present condition