I have reached checkpoint 1.

A value is straight forward and means exactly what you see. A name refers to something that could change and isn't exact. (it could refer to multiple things)
In my everyday life it is important to distinguish between names and values when being exact when discussing where to go during substitute teaching. For example, if I am asked to do cafeteria duty (name) I need to know which cafeteria to go to (value).
Variables might be useful in programming in order to type less and make things quicker.
It also can make things simpler rather than writing a long, complex value.
This commit is contained in:
Lauren Dawnkaski
2024-09-06 07:31:02 -04:00
parent a93fb66cf0
commit 4cdc727194
4 changed files with 20 additions and 1 deletions

9
circle_area.py completed Normal file
View File

@@ -0,0 +1,9 @@
# circle_area.py
# --------------
# By MWC Contributors
print("This program will calculate the area of a circle.")
radius = float(input("What is the circle's radius? "))
pi=3.141592653
area=pi*radius*radius
print (area)