Skip to content

C-17 Whales Emily and Sorida Adagrams#37

Open
emilysaeli wants to merge 8 commits intoada-c17:masterfrom
emilysaeli:master
Open

C-17 Whales Emily and Sorida Adagrams#37
emilysaeli wants to merge 8 commits intoada-c17:masterfrom
emilysaeli:master

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!

if len(highest_word) == 10:
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