generated from mwc/lab_names
11 lines
218 B
Python
11 lines
218 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? "))
|
|
|
|
area = 3.141592653*radius*radius
|
|
|
|
print(area
|
|
) |