generated from mwc/lab_names
I changed the greeting to work with any person, and I modified the formula for circle_area in order to calculate the area of a circle regardless of the radius provided. A great distinction between a name and a value would be referring to a person's name versus their age. Their name can change as mentioned in the directions, but they are still the same person regardless. However, a person cannot change their age because it is a fixed rate that determines how long that person has been alive for. Variables, on the other hand, are potentially the most useful items I have come across in CS. A variable can save an immense amount of time for those working on the code as it can condense long lines of code into a single term or phrase. It also prevents any potential repeat and can be easier to naviagte and manage for bugs. |
||
---|---|---|
.commit_template | ||
.gitignore | ||
circle_area.py | ||
draw_with_shapes.py | ||
greetings.py | ||
pyproject.toml | ||
shapes.py | ||
test_shapes.py |