subject

Using the new python online tool (see attached link), write a program that contains two files. One file is the main. py and the other file is a support. py Add TWO function definitions to the support. py file ONLY (see video).

One function must calculate the volume of ANY cylinder. You must determine how many arguments you should pass to that function based on the volume formula.

Another function must calculate the volume of ANY pyramid. You must determine how many arguments you should pass to that function based on the volume formula.

Each function must return the results of their calculations to the caller.

Using the import module, call each function in the support. py file from the main. py file and display the results (see video).

Formulas:

Pyramid: v= β…“* l*w*h
Cylinder: v = 2*PI*r^2*h

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 21:30
Asuccessful format string attack attempted to steal user account information by reading from unauthorized memory. answer the followings with proper explanation a)this attack will lead to violation of which security policies?
Answers: 2
question
Computers and Technology, 23.06.2019 07:30
What key should you press and hold to select and open multiple files at one time? enter alt control esc
Answers: 1
question
Computers and Technology, 23.06.2019 07:50
Most shops require the technician to enter a starting and ending time on the repair order to track the actual time the vehicle was in the shop and closed out by the office. this time is referred to as _ time ? a. comeback b. ro c. cycle d. lead
Answers: 1
question
Computers and Technology, 23.06.2019 21:30
Enzo’s balance sheet for the month of july is shown. enzo’s balance sheet (july 2013) assets liabilities cash $600 credit card $4,000 investments $500 student loan $2,500 house $120,000 mortgage $80,000 car $6,000 car loan $2,000 total $127,100 total $88,500 which expression finds enzo’s net worth?
Answers: 1
You know the right answer?
Using the new python online tool (see attached link), write a program that contains two files. One f...
Questions
question
English, 14.07.2019 22:00
Questions on the website: 13722363