Question: Create a program called envelope.py that prompts the user to input the following, storing each in a separate variable: Recipient's name Address City State Zip
Create a program called envelope.py that prompts the user to input the following, storing each in a separate variable:
Recipient's name
Address
City
State
Zip Code
Then, the program should create a new file called envelope.txt with the data that creates the envelope: Your name and return address at the top-left followed by the recipient's name and address near the middle, as seen below. Make sure to close the file after finished writing to it.
Display the envelope after it is created.
Step by Step Solution
3.44 Rating (160 Votes )
There are 3 Steps involved in it
Sure lets create that program step by step in Python First this program prompts the user for informa... View full answer
Get step-by-step solutions from verified subject matter experts
