Go to file
Chris Mekelburg b4fcd7a205 circle area and name code updated checkpoint1
A name is different from a value because a value always has the same
identity (2 is always 2 for example), while a name can be changed to
refer to a different value. A name is a way to refer to a value, while
the value is the true identity of the item. An example of a name would
be UB and an example of its value would be a university composed of x
buildings and y students in Western New York. Even if the name of the
school changed, it would still be composed of the same buildings and
students.

Variables can be useful in programming when a value appears more than
once in a block of code and you may need to later change that value.
For example, you can run a motor by setting a command called
motor_speed=value and then run that motor 10 different
times in the code. If you later need to change the value of the speed,
you only need to change the value in one place, where the variable is
defined, rather than changing it each time the value appears in the
code.
2024-09-01 16:17:25 -04:00
.commit_template Initial commit 2024-08-27 23:08:15 +00:00
.gitignore Initial commit 2024-08-27 23:08:15 +00:00
circle_area.py circle area and name code updated checkpoint1 2024-09-01 16:17:25 -04:00
draw_with_shapes.py Initial commit 2024-08-27 23:08:15 +00:00
greetings.py circle area and name code updated checkpoint1 2024-09-01 16:17:25 -04:00
poetry.lock circle area and name code updated checkpoint1 2024-09-01 16:17:25 -04:00
pyproject.toml Initial commit 2024-08-27 23:08:15 +00:00
shapes.py Initial commit 2024-08-27 23:08:15 +00:00
test_shapes.py Initial commit 2024-08-27 23:08:15 +00:00