Write program named program51py that defines a


Write program named program51.py that defines a value-returning function named circle that takes the radius of a circle as its sole argument and returns both the area and circumference of the circle. Prompt the user to enter the radius from the keyboard in the main function and then call the circle function. The main function should "catch" the values returned by circle and display both the area and circumference accurate to three decimal places.

SAMPLE OUTPUT

Enter circle radius 10

Circle area is 314.159

Circle circumference is 62.832

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Write program named program51py that defines a
Reference No:- TGS02511712

Now Priced at $10 (50% Discount)

Recommended (90%)

Rated (4.3/5)