Commit Graph

3 Commits

Author SHA1 Message Date
Cory Dean Chung 87f87eab0b Checkpoint 1 commit 3: Wrote count_favorite_colors
My window was small, and I started writing without reading the full
docstring, which caused me to fail a test. Once I read the error, I
looked for where None appeared in friend_functions.py and realized
there was important information in there.
2023-08-14 14:22:46 -04:00
Cory Dean Chung dc696ef25a Checkpoint 1 commit 2: Wrote get_email.
I got stuck with this in a couple places. The first was just getting
used to the syntax. The second was that I wasn't sure of the
difference between is and ==. Similar to before, I just tested
the specific function in friend_functions.py using the test cases
given and checked what output I was actually getting to figure out
what it was doing, which wasn't always obvious when running
test_friend_functions.py
2023-08-14 14:10:04 -04:00
Cory Dean Chung fe0c595b4b Checpoint 1, commit 1: Wrote count_people.
I forgot I had to assign the variable before referencing it. When
it didn't work at first, I poked through test_friend_functions.py
to figure out what data was being used. I put
from people import friends, family
and
count_people(family)
into friend_functions.py and ran python friend_functions.py to see
what the error was.
2023-08-14 13:54:08 -04:00