git_practice/homework06/program-files/7 - Added circle and sphere programs/circle1.py
2025-12-14 18:34:36 -05:00

9 lines
135 B
Python

import math
PI = math.pi
radius = float(input("Enter the radius of a circle "))
area = PI * radius**2
print(f"The area is {area}")