generated from mwc/lab_names
12 lines
240 B
Python
12 lines
240 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)
|