0
write a program in Python to input the radius of circle, calculate and display it's area and circumference.
4 Respuestas
+ 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.
+ 1
If you still need help :)
radius= int(input())
print("Area: ", 3.14159*radius**2)
print("Circumference: ", 2*3.14159*radius)
+ 1
thank you tobi
0
I have done this bt not able to get output