generated from mwc/lab_names
I defined what pi was.
A value is something that it is and a name can Identify that value
This commit is contained in:
@@ -4,5 +4,6 @@
|
|||||||
|
|
||||||
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? "))
|
||||||
|
pi = 314.1592653
|
||||||
area = radius*radius * pi
|
area = radius*radius * pi
|
||||||
|
print (area)
|
||||||
Reference in New Issue
Block a user