0

write a program in Python to input the radius of circle, calculate and display it's area and circumference.

16th Jan 2021, 5:13 PM
Garima Bakshi
Garima Bakshi - avatar
4 Answers
+ 3
Hi Garima Bakshi do you mind sharing your attempt? This is not a difficult task. Area = π*r*r Circumference = 2*π*r Where r is the radius. Use the PI constant from math module.
16th Jan 2021, 5:19 PM
Avinesh
Avinesh - avatar
+ 1
If you still need help :) radius= int(input()) print("Area: ", 3.14159*radius**2) print("Circumference: ", 2*3.14159*radius)
16th Jan 2021, 5:31 PM
Tobias Kuhnke
+ 1
thank you tobi
17th Jan 2021, 7:08 AM
Garima Bakshi
Garima Bakshi - avatar
0
I have done this bt not able to get output
16th Jan 2021, 5:29 PM
Garima Bakshi
Garima Bakshi - avatar