Reference no: EM132354836
Question
(Conditionals, and Loops)
Circumference = 2
* PI * radius, and
Area = PI * (radius**2)
where radius is the input provided, and PI can be approximated as 3.14.
the program should continue prompting for values until the user enters -1, at which point it should exit.
When the user exits the program, it should print a summary line indicating the number of times the user provided an input to this program.
A sample run of your program might look as follows (human input is in bold/purple, and program output is in blue/italics):
Please enter a radius (enter -1 to exit): 1
Area: 3.14
Circumference: 6.28
Please enter a number (enter -1 to exit): 2
Area: 12.57
Circumference: 12.57
Please enter a number (enter -1 to exit): -1
Total number of radii provided to this program: 2
Design the program for maximal reuse by using modules and functions (as necessary).
Name your file: circlemain.py. If you make a module, name it circle.py.