Created
October 10, 2013 19:32
-
-
Save garbados/6924140 to your computer and use it in GitHub Desktop.
A Python script to generate pithy witticisms, Brad Noble's hallmark.
This file contains 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
import random | |
prefix = [ | |
'do', | |
'grow', | |
'edge', | |
'next', | |
'build', | |
'sleep', | |
'play', | |
'bike', | |
'dash', | |
'cloud' | |
] | |
suffix = [ | |
'ant', | |
' more', | |
'wise', | |
'board' | |
] | |
def getNoble(): | |
return random.choice(prefix) + random.choice(suffix) | |
if __name__ == '__main__': | |
print getNoble() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Some examples:
<3 Brad :D