Sobes.tech
Junior — Senior

Function that returns the second largest value in an array

livecode

Task condition

Implement a function that takes a list of numbers and returns the second largest element in this list.

def second_max(nums):
    # your code here
    pass