Files
lab_names/circle_area.py
jcaley b731bf0fa1 need to adjust function of recangle function
Checkpoint 2----------------------------------------------------------------
2025-09-24 10:11:53 -04:00

10 lines
223 B
Python

# circle_area.py
# --------------
# By MWC Contributors
print("This program will calculate the area of a circle.")
radius = float(input("What is the circle's radius? "))
pi= 3.14
area = pi * (radius * radius)
print (area)