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

Iris Flowers Classification ML Project with Code

Simple Python Program Code for Snake Game

Linear Regression Model for House Price Prediction in Python