2. 1. 1. Reading multiple data types.
Type two statements. The first reads user input into person_name. The second reads user input into 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 five years Amy will be 9
Note: Do not write a prompt for the input values.
1 person_name = ' '
2 person_age = 0
3 Enter Answer Here
4 print('In 5 years' , person_name, 'will be', person_age + 5)
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here