Skip to content

Instantly share code, notes, and snippets.

@lesliev
Last active May 15, 2018 01:51
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 lesliev/fd1514f0c53f40aa63f61af976a73a92 to your computer and use it in GitHub Desktop.
Save lesliev/fd1514f0c53f40aa63f61af976a73a92 to your computer and use it in GitHub Desktop.
All the heyos
heyo = set(['h', 'e', 'y', 'o'])
for c1 in heyo:
for c2 in (heyo - set([c1])):
for c3 in (heyo - set([c1, c2])):
for c4 in (heyo - set([c1, c2, c3])):
print (" ".join([c1, c2, c3, c4]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment