Please enable JavaScript to use CodeHS

Want to receive Question of the Day updates? Subscribe Here

Python Question of the Day Jan. 2, 2025

  1. Incorrect Correct No Answer was selected Invalid Answer

    What will be the output of the following program if the user wants a cold drink?

    def order_drink():
        temp = input("Would you like a warm or cold beverage?")
        if temp == "warm":
            print("Hot chocolate coming right up!")
        else:
            print("Iced tea is on the way!")
    Python