Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PROBLEM 1 input () function, string concatenation, and print() statements (2 points) Ask the user to enter in their malling address information, storing their first

image text in transcribed
PROBLEM 1 input () function, string concatenation, and print() statements (2 points) Ask the user to enter in their malling address information, storing their first name, last name, street address (line 1), street address (line 2), city, state, and ZIP as variables. Print the user's address. Formatting guidelines: - The print statements should take no more than five lines of code. - Note that there are three lines between the user input statements and the printed address: an empty line, a line with three plus symbols, and another empty line - Note the comma between city and state on the final line of the address Below are some sample runnings of the program. Underlines indicate user input. Example 1 First Name: Warren Last Name: heaver Street Address (1ine 1) : 251 Marcer St. Street Address (1ine 2): Room 201 City: ew York City State: NY ZIP: 10012 Warren Weaver's mailing address is: 251 Nercer st. Room 201 New York City, NY 10012 Example 2 Firat Name: 3 Jingy Last Name: Dei Street Address (1ine 1): 229 E. 57th stieet Street Address (1ine 2) : Gals 0125 City: Chicago State: IL ZIP: 60637 Jingyi Fei's mailing address is: 929 E. 57th Street GCIS W125 Chicago, 11. 60637

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Demystified

Authors: Andrew Oppel

1st Edition

0072253649, 9780072253641

More Books

Students also viewed these Databases questions