Question: In Python Cengige My library> COsC 100: Introduction to Computers and Computing home> zyBooks 9.14: String basics E zyBooks catalog Help/FAQ zyBooks User CHALLENGE |
Cengige My library> COsC 100: Introduction to Computers and Computing home> zyBooks 9.14: String basics E zyBooks catalog Help/FAQ zyBooks User CHALLENGE | 9.14.1: Reading input strings and converting to other types. Type two statements. The first reads user input into person.name. The second reads user input into person.age. Use the function to convert person.age from a string into an integer. Note: Do not write a prompt for the input values. Below is a sample output for the given program if the user's input is: Amy 4 In 5 years Amy will be 9 person nane 2 person age- 4Your solution goes here' print 'In 5 years', person nane, "will be', person .age+5 Run
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
