Skip to content

Fixed issue with derivedwords#2

Open
boboquack wants to merge 1 commit intostackotter:mainfrom
boboquack:patch-1
Open

Fixed issue with derivedwords#2
boboquack wants to merge 1 commit intostackotter:mainfrom
boboquack:patch-1

Conversation

@boboquack
Copy link
Contributor

Stops an error if a derivedword wasn't actually in the wordlist

Changing derivedwords to look like

def derivedwords(word):
    return {word,word+'s'}|({word[:-1]} if word[-1]=='s' else set())

should now run without errors

Stops an error if a derivedword wasn't actually in the wordlist

Changing derivedwords to look like
```
def derivedwords(word):
    return {word,word+'s'}|({word[:-1]} if word[-1]=='s' else set())
```
should now run without errors
@vercel
Copy link

vercel bot commented Jan 25, 2022

Someone is attempting to deploy a commit to a Personal Account owned by @stackotter on Vercel.

@stackotter first needs to authorize it.

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

Comments