Skip to content

Instantly share code, notes, and snippets.

@briehanlombaard
Last active January 15, 2019 14:36
Show Gist options
  • Save briehanlombaard/bb5e3c98054f06f24709af39093f3625 to your computer and use it in GitHub Desktop.
Save briehanlombaard/bb5e3c98054f06f24709af39093f3625 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
from random import choice
with open('/usr/share/dict/words') as f:
words = f.read().split()
print(''.join(choice(words) for i in range(4)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment