Want to receive Question of the Day updates? Subscribe Here
Python Question of the Day
Jan. 24, 2025
IncorrectCorrectNo Answer was selectedInvalid Answer
What should be added to Line to 6 to complete this program?
name =input("Name for the reservation: ")try:
num_people =int(input("How many people is the reservation for? "))print("Reservation for "+ name +" for "+str(num_people)+" people.")# what code goes here?print("I'm sorry, you did not enter a number.")print("Please call back and try again.")