generated from mwc/lab_names
need to adjust function of recangle function
Checkpoint 2----------------------------------------------------------------
This commit is contained in:
@@ -4,3 +4,6 @@
|
||||
|
||||
print("This program will calculate the area of a circle.")
|
||||
radius = float(input("What is the circle's radius? "))
|
||||
pi= 3.14
|
||||
area = pi * (radius * radius)
|
||||
print (area)
|
||||
|
||||
Reference in New Issue
Block a user