Files
lab_names/circle_area.py
蔡卓耘 34d5739baf It's little bit confusing when I only use the cod
es without argumenting them for four times, but
 stacy told me it's because we have another programming
 running nested codes...that's interesting...
2024-09-25 10:55:04 -04:00

10 lines
234 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.141592653
circle_area=pi*radius*radius
print(circle_area)