Created
January 9, 2020 05:11
-
-
Save osteth/52d12f7a1c2d502744c6ccc8c3bb6ce7 to your computer and use it in GitHub Desktop.
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 | |
s_nouns = ["A dude", "My mom", "The king", "Some guy", "A cat with rabies", "A sloth", "Your homie", "This cool guy my gardener met yesterday", "Superman"] | |
p_nouns = ["These dudes", "Both of my moms", "All the kings of the world", "Some guys", "All of a cattery's cats", "The multitude of sloths living under your bed", "Your homies", "Like, these, like, all these people", "Supermen"] | |
s_verbs = ["eats", "kicks", "gives", "treats", "meets with", "creates", "hacks", "configures", "spies on", "retards", "meows on", "flees from", "tries to automate", "explodes"] | |
p_verbs = ["eat", "kick", "give", "treat", "meet with", "create", "hack", "configure", "spy on", "retard", "meow on", "flee from", "try to automate", "explode"] | |
infinitives = ["to make a pie.", "for no apparent reason.", "because the sky is green.", "for a disease.", "to be able to make toast explode.", "to know more about archeology."] | |
def sing_sen_maker(): | |
'''Makes a random senctence from the different parts of speech. Uses a SINGULAR subject''' | |
if input("Would you like to add a new word?").lower() == "yes": | |
new_word = input("Please enter a singular noun.") | |
s_nouns.append(new_word) | |
else: | |
print(random.choice(s_nouns), random.choice(s_verbs), random.choice(s_nouns).lower() or random.choice(p_nouns).lower(), random.choice(infinitives)) | |
sing_sen_maker() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment