Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save RichardEllicott/7098c86029a551e22b17549d82e316f6 to your computer and use it in GitHub Desktop.
Save RichardEllicott/7098c86029a551e22b17549d82e316f6 to your computer and use it in GitHub Desktop.
import random
s = ''
for n in range(10):
s += random.choice('abc')
print(s)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment