generated from mwc/lab_names
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:
7
poetry.lock
generated
Normal file
7
poetry.lock
generated
Normal 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"
|
||||
Reference in New Issue
Block a user