Created
November 29, 2018 01:28
-
-
Save kazimuth/4ea1f5171e4982f36844eb683cf0fbaa to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
same oh | |
big oh | |
hat oh | |
worm oh | |
mood oh | |
oh same | |
big same | |
hat same | |
worm same | |
mood same | |
oh big | |
same big | |
hat big | |
worm big | |
mood big | |
oh hat | |
same hat | |
big hat | |
worm hat | |
mood hat | |
oh worm | |
same worm | |
big worm | |
hat worm | |
mood worm | |
oh mood | |
same mood | |
big mood | |
hat mood | |
worm mood |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
words = ['oh', 'same', 'big', 'hat', 'worm', 'mood'] | |
for i, wi in enumerate(words): | |
for j, wj in enumerate(words): | |
if i != j: | |
print(wj, wi) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment