Find the Runner-Up Score!

  • + 0 comments

    sort_score = (set(arr)) #converteed to set to eliminate dup values score = list(sort_score) #type cast to list so we can use sort fun and sliceing score.sort() #sort the list runner_up = score[-2] #get the last second value

    print(runner_up)