Question: program5_2.py a program that prints a 3-column table showing the circumference and area of ten circles of a specified random radius .See Sample Output. The

program5_2.py

a program that prints a 3-column table showing thecircumferenceandareaoftencircles of a specifiedrandom radius.See Sample Output. The area and circumference arecalculated and printed by a custom functionthat takes a radius as its only argument. The low and high values for the range of random radii are specified byuser inputsin main. The main function should then use these high and low values and the random module in a loop to generate random integers and execute the custom function with the random integers as radii. In the table, the radius column should be6 charas. wide with 1 decimal, the circumference column should be12 charas. wide with 3 decimals, and the area column should be11 charas. wide with 2 decimals.

Sample Output

program5_2.py a program that prints a 3-column table showing thecircumferenceandareaoftencircles of a

\f

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 Programming Questions!