Find the Runner-Up Score!

  • + 1 comment

    even without using list

    print(sorted(set(arr))[-2])