Question: 2. Write a program that lets the user enter their first name, last name, faculty, year of study, city/town, province and postal code, and

2. Write a program that lets the user enter their first name, last name, faculty, year of study, city/town, province and postal code, and then print them back to the screen with and without formatting: Tell the user what to enter and let the entry be made on the same line as the instruction during the run. Use the input() function to read each item entered and store it to a variable. Display each item on a separate line with a descriptive message, using a print () function for each one. Do this without f-strings. Display each item again, this time in the following manner, using f-strings: . Print the first letters of each name, one after the other. Print the first two letters of the faculty followed by the year on a single line. Print the first three letters of the city/town, followed by the first two letters of the province and the first three characters of the postal code, all on a single line.
Step by Step Solution
There are 3 Steps involved in it
Heres a Python program that accomplishes the task python Get user input firstname ... View full answer
Get step-by-step solutions from verified subject matter experts
