In this homework, you will: 1. Write a program that utilizes user input. 2. Write a program that calculates the area of a circle. NOTES: You will submit four (04) files after completing this homework: • One source files: yourName_LAB_3.py • One image files: yourName_LAB 3 output.jpg 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 • 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 th 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 Name: Sue B
In this homework, you will: 1. Write a program that utilizes user input. 2. Write a program that calculates the area of a circle. NOTES: You will submit four (04) files after completing this homework: • One source files: yourName_LAB_3.py • One image files: yourName_LAB 3 output.jpg 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 • 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 th 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 Name: Sue B
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
![nts
In this homework, you will:
1. Write a program that utilizes user input.
2. Write a program that calculates the area of a circle.
NOTES: You will submit four (04) files after completing this homework:
• One source files: yourName_LAB_3.py
• One image files: yourName_LAB_3_output.jpg
arch
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, correc
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
Name:
Sue B](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F9f729825-7d4a-4a87-a9c0-bb149983481c%2F531b7c5c-376e-4c66-91f8-e0802262e992%2F1ra5xew_processed.jpeg&w=3840&q=75)
Transcribed Image Text:nts
In this homework, you will:
1. Write a program that utilizes user input.
2. Write a program that calculates the area of a circle.
NOTES: You will submit four (04) files after completing this homework:
• One source files: yourName_LAB_3.py
• One image files: yourName_LAB_3_output.jpg
arch
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, correc
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
Name:
Sue B
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 4 steps with 2 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Knowledge Booster
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.Recommended textbooks for you
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education