KnowledgeBoat Logo

Computer Science

Write a Python program that accepts radius of a circle and prints its area.

Python

Python Funda

236 Likes

Answer

r = float(input("Enter radius of circle: "))
a = 3.14159 * r * r
print("Area of circle =", a)

Output

Enter radius of circle: 7.5
Area of circle = 176.7144375

Answered By

120 Likes


Related Questions