Please enable JavaScript to use CodeHS

Want to receive Question of the Day updates? Subscribe Here

Python Question of the Day Feb. 27, 2025

  1. Incorrect Correct No Answer was selected Invalid Answer

    Review the following program that shows the high scores of a video game. A new high score needs to be added to the list. What line of code can be added to print the new list of all the high scores, in order from highest to lowest score, in the console?

    hi_scores = (("Sam", 1500), ("Vanessa", 1250), ("Elenor", 1130))
    new_hi_score = ("Greg", 1460)
    
    # What code goes here?
    
    print(new_scores)
    Python