generated from mwc/lab_names
I did a good
This commit is contained in:
@@ -2,5 +2,11 @@
|
||||
# --------------
|
||||
# By MWC Contributors
|
||||
|
||||
pi = 3.14159
|
||||
|
||||
print("This program will calculate the area of a circle.")
|
||||
radius = float(input("What is the circle's radius? "))
|
||||
|
||||
area = radius*radius * pi
|
||||
|
||||
print(area)
|
||||
Reference in New Issue
Block a user