score = [20,60,98,59] n = 1 score.sort(reverse=True) for x in score: if x == 59: print(n) else: n += 1
To embed this project on your website, copy the following code and paste it into your website's HTML: