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

Data exploration and scatter plot visualization in Python using Pandas and Matplotlib