Assignment I. User Input • Create a program that uses 3 variables named: "name", "address", and "phone". Assign these three variables to input statements ,input("blah blah blah"), asking the user to enter their name, address and phone number. Such as: • X = input("Please enter a number between 1 and 100") Then use 3 prints statements to print the values stored in the 3 variables. Don't hard-code values in the print statements. Such as: print("Your name is: ", name) Add an extra, empty, print statement before your 3 print statements to create a blank line in your output so your program is more readable. A blank print statement looks like: • print( ) Using a variable in your print statement makes your statement more robust. If the value changes say to 42 then you don't have to change your print statement it will display the, correct, new number. - Name the source code file yourName_lab3_1.py. • Run the program. Capture the output and save it as an image file named yourName LAB3_output1. pg. Sample output below: Lab 3 Part 1 - Capture Input Enter your name: Sue B Enter your address: 444 Appleyard Drive Enter your phone number: 850-201-8277 Sue B Name: d Drive

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter8: I/o Streams And Data Files
Section: Chapter Questions
Problem 9PP: (Inventory) Create an ASCII file with the following data, or use the shipped.dat file available on...
icon
Related questions
Question
/tcc.instructure.com/courses/42392/assignments/976545#submit
• One source fles: yourName_LAB_3.py
• One image files: yourName_LAB_3_output.jpg
To
Assignment
I. User Input
• Create a program that uses 3 variables named: "name", "address", and "phone".
• Assign these three variables to input statements ,input("blah blah blah"), asking the user to enter their name, address and phone number. Such as:
• X = input("Please enter a number between 1 and 100")
Then use 3 prints statements to print the values stored in the 3 variables. Don't hard-code values in the print statements. Such as:
o print("Your name is: ", name)
• Add an extra, empty, print statement before your 3 print statements to create a blank line in your output so your program is more readable. A blank print statement looks like:
• print( )
Using a variable in your print statement makes your statement more robust. If the value changes say to 42 then you don't have to change your print statement it will display the, correct,
new number.
• Name the source code file yourName_lab3_1.py.
Run the program. Capture the output and save it as an image file named yourName_LAB3_output1. pg.
Sample output below:
Lab 3 Part 1 - Capture Input
Enter your name: Sue B
Enter your address: 444 Appleyard Drive
Enter your phone number: 850-201-8277
Sue B
Name:
a00 Anpleyard Drive
ming it and you
Transcribed Image Text:/tcc.instructure.com/courses/42392/assignments/976545#submit • One source fles: yourName_LAB_3.py • One image files: yourName_LAB_3_output.jpg To Assignment I. User Input • Create a program that uses 3 variables named: "name", "address", and "phone". • Assign these three variables to input statements ,input("blah blah blah"), asking the user to enter their name, address and phone number. Such as: • X = input("Please enter a number between 1 and 100") Then use 3 prints statements to print the values stored in the 3 variables. Don't hard-code values in the print statements. Such as: o print("Your name is: ", name) • Add an extra, empty, print statement before your 3 print statements to create a blank line in your output so your program is more readable. A blank print statement looks like: • print( ) Using a variable in your print statement makes your statement more robust. If the value changes say to 42 then you don't have to change your print statement it will display the, correct, new number. • Name the source code file yourName_lab3_1.py. Run the program. Capture the output and save it as an image file named yourName_LAB3_output1. pg. Sample output below: Lab 3 Part 1 - Capture Input Enter your name: Sue B Enter your address: 444 Appleyard Drive Enter your phone number: 850-201-8277 Sue B Name: a00 Anpleyard Drive ming it and you
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Mathematical functions
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,