Calculate the area of a circle

 import math

radius = 5

area = math.pi * (radius**2)

print("The area of the circle is", area)


Comments

Popular posts from this blog

Hello World Python Code with Explanation

Addition of Two numbers in Python

Iris Flowers Classification ML Project with Code