What will be the result of running the code below?
days_in_week = 7
hours_in_day = 24
hours_in_week = days_in_week*hours_in_day
print("There are "+str(hours_in_week)+" hours in each week")

Respuesta :

Answer:

The program will output "There are X hours in each week." (X being the amount of hours)

Explanation:

Depending on what you put in for the last variable, only the number of hours would change. The program multiplies the values together, and then outputs that value with the string shown.