Skip to content

Instantly share code, notes, and snippets.

@515hikaru
Last active March 12, 2019 13:39
Show Gist options
  • Save 515hikaru/6baf72b916ef16eb83c57973c9fa2339 to your computer and use it in GitHub Desktop.
Save 515hikaru/6baf72b916ef16eb83c57973c9fa2339 to your computer and use it in GitHub Desktop.
import itertools
def main():
for w in itertools.permutations('git', 3):
print(''.join(w))
if __name__ == '__main__':
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment