Go to file
kathrynoh23 56e039ccd4 Checkpoint 1:
- The difference between a value and a name is that the value refers to
what it is, a string or integer. And the name is refers to the object,
it can be called different names, but it's still the same object.

- In real-life, one tree species on Eastern Long Island is a Pin Oak.
The value refers to what it is such as "Pin Oak" and the name refers
to generic something of Eastern Long Island tree species.

- Benefit of using a variable in programming is to assign it with a
stored value (integer or string) associated to the name. I've been
reading about Python variables which is representational name that's
a basic unit of storage or container to stores values in a program.

Variable example, name = value

Real life variable example, EasternLI_tree_name = "Pin Oak"

Checkpoint 2:

- Where is a good source to get Python information to answer
these questions?

- Isn't the variable dependent on the type of function? If there's no
function what is the variable doing, nothing. Assign a function
to the variable name to get sometype of value interaction from the
user or output. Right?

- From my understanding is that functions can be reused throughout
a program with simplified and cleaner code. I see within the "2.
Functions" you can define a function such as a block of code
to reuse it multiple times throughout the program without
re-writing the original code. Smart coding, easier to understand,
and runs smoother with fewer errors.
2023-08-04 14:56:25 -04:00
.DS_Store Kathryn Odell-Hamilton 2023-07-30 12:32:00 -04:00
.commit_template Initial commit 2023-07-19 21:23:34 +00:00
.gitignore Initial commit 2023-07-19 21:23:34 +00:00
circle_area.py Kathryn Odell-Hamilton 2023-07-30 12:32:00 -04:00
def_square_demo.py Kathryn Odell-Hamilton 2023-07-30 12:32:00 -04:00
draw_with_shapes.py Checkpoint 1: 2023-08-04 14:56:25 -04:00
from_turtle_import_square.py Kathryn Odell-Hamilton 2023-07-30 12:32:00 -04:00
greetings.py Kathryn Odell-Hamilton 2023-07-30 12:32:00 -04:00
poetry.lock Kathryn Odell-Hamilton 2023-07-30 12:32:00 -04:00
pyproject.toml Initial commit 2023-07-19 21:23:34 +00:00
shapes.py Kathryn Odell-Hamilton 2023-07-30 12:32:00 -04:00
square_demo.py Kathryn Odell-Hamilton 2023-07-30 12:32:00 -04:00
squares_4_separated.py Kathryn Odell-Hamilton 2023-07-30 12:32:00 -04:00
squares_4_sidebyside.py Kathryn Odell-Hamilton 2023-07-30 12:32:00 -04:00
squares_function_w_arguments.py Kathryn Odell-Hamilton 2023-07-30 12:32:00 -04:00
test_shapes.py Initial commit 2023-07-19 21:23:34 +00:00