Question: Write a python program that asks a user if they want to be added to the mailing list for a company. They will type Y

Write a python program that asks a user if they want to be added to the mailing list for a company. They will type Y or N. If they type Y, prompt for the following:

  • a first name (as a string)
  • a last name (as a string)
  • an address (as a string)
  • a city (as a string)
  • a state (as a string)
  • a zip code (as an integer)

Then print an address label like the one shown in the sample run below. Formatting is important.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!