Skip to content
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

Move word_counter inside i in range so it resets #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Scott-Larsen
Copy link

I suggest moving word_counter so it resets to 0 each time the for i in range runs. I found your solution because I'm not understanding the object oriented programming aspect of this problem/ week at all. You've nailed it except I think the word_counter needs to move inside the for loop so that it resets to 0 each time you try a different shift. Apologies if I'm not using GitHub properly as this is literally my first interaction on the site. Thanks, Scott

I suggest moving word_counter so it resets to 0 each time the for i in range runs.  I found your solution because I'm not understanding the object oriented programming aspect of this problem/ week at all.  You've nailed it except I think the word_counter needs to move inside the for loop so that it resets to 0 each time you try a different shift.  Apologies if I'm not using GitHub properly as this is literally my first interaction on the site.  Thanks, Scott
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.

1 participant