Question: Im doing this on a raspberry pi and using python 3(IDLE) please help thank you. Write a program that prompts the user for a radius

Im doing this on a raspberry pi and using python 3(IDLE) please help thank you.

Write a program that prompts the user for a radius r, and then prints

A) the area and circumference of a circle with that radius

B) the volume and surface area of a Spears with that radius

C) display the radius value and the results in a clear format.

Here are the formulas (assume pi=3.14):

For a circle for a sphere
Circumference = 2pi r Volume = 4pir^3/3
Area = pi r^2 Surface area =4pir^2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!