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

Simple Python Program Code for Snake Game

Iris Flowers Classification ML Project with Code

Linear Regression Model for House Price Prediction in Python