Skip to content

Fix typos and add comments to ch09 #71

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 21, 2022
Merged

Fix typos and add comments to ch09 #71

merged 1 commit into from
Oct 21, 2022

Conversation

ybrenning
Copy link
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
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