generated from mwc/lab_names
i calculated the circle of the area
This commit is contained in:
@@ -4,3 +4,5 @@
|
|||||||
|
|
||||||
print("This program will calculate the area of a circle.")
|
print("This program will calculate the area of a circle.")
|
||||||
radius = float(input("What is the circle's radius? "))
|
radius = float(input("What is the circle's radius? "))
|
||||||
|
area = 3.14*radius*radius
|
||||||
|
print(area)
|
||||||
Reference in New Issue
Block a user