Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help with writing this code. The blue circle represents a fountain and the orange part the flower bed. Remember that the area of

image text in transcribed

I need help with writing this code.

The blue circle represents a fountain and the orange part the flower bed. Remember that the area of a square is the length of one of its sides squared. Also, the area of a circle is nr, where r is the radius of the circle. The volume is the square footage times the depth. For this project, you get to write a Python script to perform some calculations for the garden plot, based on user input Requirements Write a Python 3 script that has a function for each of the following: . Welcome the user .Prompts the user for the length of one of the sides of the garden and returns that value .Prompts the user for the radius of the fountain and returns that value Calculates the total square footage of the flower bed .Prompts the user for the depth of the flower bed and returns that value This means that your script should have at least 5 helper functions and therefore should have "det" at least 5 times. Have your script display the total square footage of the garden plot, the square footage of just the flower bed and the amount of soil needed for the flower bed (in cubic foot). Use the math module for n. Also, your script must appropriately include a main() function, which cannot be the longest function. Additionally, round all calculations to 1 decimal place. Include a descriptive comment before each function and each major section of your code. Describe in English (not code) what the function or section does. Be sure to include any assumptions. Write it for another software developer to read, meaning one that already knows Python

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Transactions On Large Scale Data And Knowledge Centered Systems Vi Special Issue On Database And Expert Systems Applications Lncs 7600

Authors: Abdelkader Hameurlain ,Josef Kung ,Roland Wagner ,Stephen W. Liddle ,Klaus-Dieter Schewe ,Xiaofang Zhou

2012th Edition

3642341780, 978-3642341786

Students also viewed these Databases questions