Skip to content

Instantly share code, notes, and snippets.

@emilio1625
Last active September 9, 2020 22:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emilio1625/329a9b30aa3da7a2929894fad560cd8d to your computer and use it in GitHub Desktop.
Save emilio1625/329a9b30aa3da7a2929894fad560cd8d to your computer and use it in GitHub Desktop.
letters = set('áÁéÉíÍóÓúÚoOiIlLeEaAsSzZgGtTbBcCdDfF')
with open("Spanish.dic") as f:
words = f.read().splitlines()
for word in words:
if letters >= set(word):
print(word)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment