Find the Runner-Up Score!

  • + 0 comments

    n = int(input()) arr = list(map(int, input().split())) seen = set() unique_list = [x for x in arr if x not in seen and not seen.add(x)] unique_list.sort print(unique_list[-2])

    whats the problem with this?