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

Project 01: Python Code for Music Recommendation with Explanation