Question: python,plz Complete the print_info() function that: Calls the get_name() function defined previously to obtain the user's name. Calls the get_age() function defined previously to obtain
Complete the print_info() function that: Calls the get_name() function defined previously to obtain the user's name. Calls the get_age() function defined previously to obtain the user's age. Prints out a banner consisting of a single line of 15 "*" symbols, followed by the user's information (name and age on separate lines), followed by another single line of 15 "*" symbols. Note that the print_info() function must call the get_name() and get_age() functions. Do not include your code for the get_name() and get_age() functions - this has been done for you as part of the question setup. You can assume that the user will always enter an integer value for their age. Some examples of the function being run are shown below: For example: Test Input Result print_info() Damir Please enter your name: Damir 42 Please enter your age: 42 NAME: Damir AGE: 42 print_info() Jesse Please enter your name: Jesse 39 Please enter your age: 39 NAME: Jesse AGE: 39
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
