QUESTION IMAGE
Question
question #2
what will print when the following code is run and the user enters 13?
age = int(input(\how old are you?\))
print(\in 5 years, you will be \, age + 5, \years old.\)
in 5 years you will be 18 years old.
in 5 years you will be 13 years old.
in 5 years you will be years old.
error
Step1: Substitute the value of age
Given \( age = int(input("How old are you?")) \), when user enters \( 13 \), then \( age = 13 \).
Step2: Calculate age + 5
We need to find \( age+5 \). Substitute \( age = 13 \) into \( age + 5 \), so \( 13+5=18 \).
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
In 5 years you will be 18 years old.