XXXXXXXXXXReading 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...


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)




Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here