Question: Assignment: Create a Python program that performs the following: > Define your first name, last name, and age as named constants. Output to the screen
Assignment: Create a Python program that performs the following: > Define your first name, last name, and age as named constants. Output to the screen one line that concatenates your name and age into a complete sentence. Collect 3 data points (i.e., first name, last name, and age) from the program's user. Be sure to include appropriate prompts for the end user to know what is being requested of them. o Output to the screen one line that concatenates the user's name into a greeting as a complete sentence. >Concatenate a second complete sentence that calculates how much older the user is compared to the author's age. Use a separate print0 command but display it on the same line as the previous sentence. This will calculate a positive number of the user is younger than the author. This will calculate a negative number if the user is older than the author. o o Output to the screen one line that calculates the user's age as a percentage of the author's age. Use the percentage formatting functionality to express this percentage to two significant digits. o This will calculate a numbers 100% if the user is younger than the author. This will calculate a number > 100% if the user is older than the author. Your output should appear similar to the examples shown below. Attach your notebook to the assignment link in Bb before the due deadline
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
