X Tutup
Skip to content

Fix typos and add comments to ch09#71

Merged
dbader merged 1 commit intorealpython:masterfrom
ybrenning:master
Oct 21, 2022
Merged

Fix typos and add comments to ch09#71
dbader merged 1 commit intorealpython:masterfrom
ybrenning:master

Conversation

@ybrenning
Copy link
Copy Markdown
Contributor

I have fixed some minor typos in 1-tuples-are-immutable-sequences.py and 4-challenge-list-of-lists.py. I have also added comments to 7-challenge-capital-city-loop.py as well as two of the "cats with hats" challenges.

9a-challenge-cats-with-hats.py was also accessing the list of cats using the cats name (line 15) from outside of the function instead of the array_of_cats parameter which was provided to the function, which could cause confusion when reading the code. I went ahead and changed that to the parameter name from the function signature for better clarity.

@dbader
Copy link
Copy Markdown
Member

dbader commented Oct 21, 2022

Great, thank you :) 👍

@dbader dbader merged commit a0f5a35 into realpython:master Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

X Tutup