For triangle I changed Pass to agruments for the

side and length
Rectangle I changed Pass to arguments for width and height

Checkpoint 1 - value is what it is while name refers to something else
. In everyday life I go by different names; Heather, mom, teacher, friend
but the different names do not change who I am as a person.
Variables are useful in programming because they simplify the programming
process.

Checkpoint 2
Function is like a variable in that it gives a name to something. This again simplifies
the programming process.
Functions can be useful in breaking down big, hard problems because once
you define the function, you can now focus on what you are trying to do
with the defined funtions.
For example, If I define a triangle, I can use that function to put
triangles together to draw a pine tree.
This commit is contained in:
Heather
2025-09-30 20:47:04 -04:00
parent 50254b3e49
commit 8f03d34694
3 changed files with 29 additions and 3 deletions

7
poetry.lock generated Normal file
View File

@@ -0,0 +1,7 @@
# This file is automatically @generated by Poetry 2.1.4 and should not be changed by hand.
package = []
[metadata]
lock-version = "2.1"
python-versions = ">=3.10,<4.0"
content-hash = "7b8fc01b274bd807fb00372bbc8e138330f15ae7978ed61e180f3b17ec076725"