generated from mwc/lab_names
it was easy, not hard to understand
This commit is contained in:
@@ -2,5 +2,8 @@
|
||||
# --------------
|
||||
# By MWC Contributors
|
||||
|
||||
pi = 3.141592653
|
||||
print("This program will calculate the area of a circle.")
|
||||
radius = float(input("What is the circle's radius? "))
|
||||
circle_area = radius*radius*pi
|
||||
print(circle_area)
|
||||
|
||||
Reference in New Issue
Block a user