Skip to content

Instantly share code, notes, and snippets.

@Lakret
Created December 22, 2021 17:55
Show Gist options
  • Save Lakret/f7a109048412c99cc60da6d8779d6445 to your computer and use it in GitHub Desktop.
Save Lakret/f7a109048412c99cc60da6d8779d6445 to your computer and use it in GitHub Desktop.
Niceties Generator
import sys
from random import choice
parts = [
[
"Champ,",
"Fact:",
"Everybody says",
"Dang",
"Check it:",
"Just saying...",
"Superstar",
"Tiger",
"Self,",
"Know this:",
"News alert:",
"Girl,",
"Ace,",
"Excuse me but",
"Experts agree:",
"In my opinion",
"hear ye, hear ye:",
"Okay, listen up:",
],
[
"the mere idea of you",
"your soul",
"your hair today",
"everything you do",
"your personal style",
"every thought you have",
"that sparkle in your eye",
"your presence here",
"what you got going on",
"the essential you",
"your life's journey",
"that saucy personality",
"your DNA",
"that brain of yours",
"your choice of attire",
"the way you roll",
"whatever your secret is",
"all of y'all",
],
[
"has serious game",
"rains magic",
"deserves the Nobel Prize",
"raises the roof",
"breeds miracles",
"is paying off big time",
"shows mad skills",
"just shimmers",
"is a national treasure",
"gets the party hopping",
"is the next big thing",
"roars like a lion",
"is a rainbow factory",
"is made of diamonds",
"makes birds sign",
"should be taught in school",
"makes my world go 'round",
"is 100% legit",
],
[
"24/7.",
"can I get an amen?",
"and that's a fact.",
"so treat yourself.",
"you feel me?",
"that's just science.",
"would I lie?",
"for reals.",
"mic drop.",
"you hidden gem.",
"snuggle bear.",
"period.",
"now let's dance.",
"high five.",
"say it again!",
"according to CNN.",
"so get used to it.",
],
]
def generate():
p = [choice(part) for part in parts]
return f"{p[0]} {p[1]} {p[2]}, {p[3]}"
if __name__ == "__main__":
if len(sys.argv) > 1:
for _ in range(int(sys.argv[1])):
print(generate())
else:
print(generate())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment