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

C-17 Whales Emily and Sorida Adagrams #37

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

emilysaeli
Copy link

No description provided.

Copy link

@jericahuang jericahuang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work on this project, Emily and Sorida! The code you wrote together both passed all the tests and met the learning goals. I also made note of great highlights I saw. You both have earned a 🟢 on Adagrams!

pass
random_letter = []
is_valid = True
while is_valid:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great while loop implementation with a boolean flag!

if letter in letter_bank:
continue
else:
return False

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice way to short circuit this function!

continue
elif len(word) == 10 or len(word) < len(highest_word):
highest_word = word

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice implementation of the tiebeaker logic

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.

3 participants