generated from mwc/lab_names
a name is what we call something while a value is a definition
we need to know the difference in our everyday life because it's in everyday language.
This commit is contained in:
@@ -4,3 +4,8 @@
|
|||||||
|
|
||||||
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.141592653*radius*radius
|
||||||
|
|
||||||
|
print(area
|
||||||
|
)
|
||||||
@@ -2,6 +2,6 @@
|
|||||||
# ------------
|
# ------------
|
||||||
# By MWC contributors
|
# By MWC contributors
|
||||||
|
|
||||||
my_name ="Chris"
|
my_name ="Jacob"
|
||||||
greeting = "Hello, " + my_name
|
greeting = "Hello, " + my_name
|
||||||
print(greeting)
|
print(greeting)
|
||||||
|
|||||||
Reference in New Issue
Block a user