Question: CHALLENGE ACTIVITY 2 . 1 . 1 : Reading multiple data types. Use input ( ) to read a string from input into variable person

CHALLENGE ACTIVITY
2.1.1: Reading multiple data types.
Use input() to read a string from input into variable person_name. Then, use int(input()) to read a value from input as an integer into variable person_age. Ex: If the input is Amy 4, then the output is:
In 5 years Amy will be 9
Note: Do not write a prompt for the input values.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!