Document1 - Word Fun math practice 1.8 squared is 64 You Python programming teacher wants to see you make a program that accepts input for a name and a few numbers from the user, and then display some fun output using some of the math and built in functions you have learned to use in python. 2. The square root of 144 is 12 3. 7.75 times pi is 24,347343065320896 4, 8 can be displayed as a real number like this: 8.0 5. 7.75 can be displayed rounded to only 1 decimal like this: 7.8 6. The integer value of 7.75 is 7 *Make sure to import the math library before def main and use for square root and the value of pi. *Also remember that the things underlined means the user is typing in some value there, and the math will have to be using their value not the sample values. Hope you had fun seeing some random math that we can do with Python! Please write an algorithm first (no python syntax at all) that will describe the steps needed to ultimately have the output below. Remember to never mention importing a library in an algorithm. Then write the correct Python code under each algorithm step to make the program below. Add any addi- tional code needed (like importing the math library) and comments a programmer might add. Example output- Make it look like this with the user's name and numbers: Welcome to my fun math program! First, what is your name? Bob Hello Bob. Next I am going to ask you for 3 numbers and show you some fun math using them. Enter first number and make sure it is a whole number: 8 Enter second number and make sure it is a whole number with 3 digits: 144 Enter third number and make sure it is a real number with 2 decimal places: 7.75 Okay Bob, are you ready to see some random math.
Document1 - Word Fun math practice 1.8 squared is 64 You Python programming teacher wants to see you make a program that accepts input for a name and a few numbers from the user, and then display some fun output using some of the math and built in functions you have learned to use in python. 2. The square root of 144 is 12 3. 7.75 times pi is 24,347343065320896 4, 8 can be displayed as a real number like this: 8.0 5. 7.75 can be displayed rounded to only 1 decimal like this: 7.8 6. The integer value of 7.75 is 7 *Make sure to import the math library before def main and use for square root and the value of pi. *Also remember that the things underlined means the user is typing in some value there, and the math will have to be using their value not the sample values. Hope you had fun seeing some random math that we can do with Python! Please write an algorithm first (no python syntax at all) that will describe the steps needed to ultimately have the output below. Remember to never mention importing a library in an algorithm. Then write the correct Python code under each algorithm step to make the program below. Add any addi- tional code needed (like importing the math library) and comments a programmer might add. Example output- Make it look like this with the user's name and numbers: Welcome to my fun math program! First, what is your name? Bob Hello Bob. Next I am going to ask you for 3 numbers and show you some fun math using them. Enter first number and make sure it is a whole number: 8 Enter second number and make sure it is a whole number with 3 digits: 144 Enter third number and make sure it is a real number with 2 decimal places: 7.75 Okay Bob, are you ready to see some random math.
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
The second picture is the example will be preciated can you make cods similar to that the last guy posted I was so lost
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images
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
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
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)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education