Commit Graph

3 Commits

Author SHA1 Message Date
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
kathrynoh23 579af5cbfa Kathryn Odell-Hamilton
7.30.23

7.22.23 Completed file: circle_area.py

Checkpoint 1: circle_area.py

I don't recall the original file information because of the errors
submitting. I believe the coding was to add pi #, add code to get
circle area, and print circle_area. Once you input number for circle
radius, circle_area.py formulates the answer.
2023-07-30 12:32:00 -04:00
kodell-hamilton a1f0138268 Initial commit 2023-07-19 21:23:34 +00:00