Computer Science, asked by abhi84911, 1 year ago

Write a python program which accept the radius of a circle from the user and compute the area.

Answers

Answered by Avinashkush
55
1. from math import pi
2. r = float(input ("Input the radius of the circle : "))
3. print ("The area of the circle with radius " + str(r) + " is: " + str(pi * r**2))
Answered by atrs7391
11

r = float(input("Enter the radius of the circle: "))

print("Area of the circle =", 3.14 * (r * r))

Similar questions