Files
lab_names/circle_area.py
klinn f1511ac60f I defined what pi was.
A value is something that it is and a name can Identify that value
2026-02-09 10:54:45 -05:00

9 lines
226 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 = 314.1592653
area = radius*radius * pi
print (area)