Type two statements. The first reads user input into person_name. The second reads user input into person_age. Use the int() function to convert person_age into an integer. Below is a sample output for the given program if the user's input is: Amy 4 In 5 years Amy will be 9 Note: Do not write a prompt for the input values, use the format: variable_name = input()

Respuesta :

Answer:

Follows are the code to this question:

person_name='' #defining string variable

person_age=0 #defining integer variable

person_name = input()#use person_name variable that use input method for input value

person_age = int(input())#use person_age variable that use input method for input value

print('In 5 years',person_name,'will be',person_age+5)#print value with message

Output:

Amy

4

In 5 years Amy will be 9

 Explanation:

In this code, two variable "person_name and person_age" is defined, that uses the input method for user-input value and use the print method to print its input value with the given message.