Computer Science, asked by rajeshranga57116, 11 months ago

write a program that accepts radius of a circle and print its area in python

Answers

Answered by sidbhatj
4

Answer:

from math import*

radius = float(input('What is the radius of the circle:'))

print('The area of the circle with radius {0} is {1}'.format(radius, (pi * radius ** 2)))

Explanation:  use the math library to use the value of pi.

Answered by atrs7391
0

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

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

Similar questions