Skip to content

Format Document #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
174 changes: 142 additions & 32 deletions Chapter_1/pseudonyms_main.py
Original file line number Diff line number Diff line change
@@ -1,41 +1,150 @@

import sys, random


def main():

print("Welcome to the Psych 'Sidekick Name Picker.'\n")
print("A name just like Sean would pick for Gus:\n\n")

first = ('Baby Oil', 'Bad News', 'Big Burps', "Bill 'Beenie-Weenie'",
"Bob 'Stinkbug'", 'Bowel Noises', 'Boxelder', "Bud 'Lite'",
'Butterbean', 'Buttermilk', 'Buttocks', 'Chad', 'Chesterfield',
'Chewy', 'Chigger', 'Cinnabuns', 'Cleet', 'Cornbread', 'Crab Meat',
'Crapps', 'Dark Skies', 'Dennis Clawhammer', 'Dicman', 'Elphonso',
'Fancypants', 'Figgs', 'Foncy', 'Gootsy', 'Greasy Jim', 'Huckleberry',
'Huggy', 'Ignatious', 'Jimbo', "Joe 'Pottin Soil'", 'Johnny',
'Lemongrass', 'Lil Debil', 'Longbranch', '"Lunch Money"', 'Mergatroid',
'"Mr Peabody"', 'Oil-Can', 'Oinks', 'Old Scratch', 'Ovaltine',
'Pennywhistle', 'Pitchfork Ben', 'Potato Bug', 'Pushmeet',
'Rock Candy', 'Schlomo', 'Scratchensniff', 'Scut',
"Sid 'The Squirts'", 'Skidmark', 'Slaps', 'Snakes', 'Snoobs',
'Snorki', 'Soupcan Sam', 'Spitzitout', 'Squids', 'Stinky',
'Storyboard', 'Sweet Tea', 'TeeTee', 'Wheezy Joe',
"Winston 'Jazz Hands'", 'Worms')

last = ('Appleyard', 'Bigmeat', 'Bloominshine', 'Boogerbottom',
'Breedslovetrout', 'Butterbaugh', 'Clovenhoof', 'Clutterbuck',
'Cocktoasten', 'Endicott', 'Fewhairs', 'Gooberdapple', 'Goodensmith',
'Goodpasture', 'Guster', 'Henderson', 'Hooperbag', 'Hoosenater',
'Hootkins', 'Jefferson', 'Jenkins', 'Jingley-Schmidt', 'Johnson',
'Kingfish', 'Listenbee', "M'Bembo", 'McFadden', 'Moonshine', 'Nettles',
'Noseworthy', 'Olivetti', 'Outerbridge', 'Overpeck', 'Overturf',
'Oxhandler', 'Pealike', 'Pennywhistle', 'Peterson', 'Pieplow',
'Pinkerton', 'Porkins', 'Putney', 'Quakenbush', 'Rainwater',
'Rosenthal', 'Rubbins', 'Sackrider', 'Snuggleshine', 'Splern',
'Stevens', 'Stroganoff', 'Sugar-Gold', 'Swackhamer', 'Tippins',
'Turnipseed', 'Vinaigrette', 'Walkingstick', 'Wallbanger', 'Weewax',
'Weiners', 'Whipkey', 'Wigglesworth', 'Wimplesnatch', 'Winterkorn',
'Woolysocks')
first = (
"Baby Oil",
"Bad News",
"Big Burps",
"Bill 'Beenie-Weenie'",
"Bob 'Stinkbug'",
"Bowel Noises",
"Boxelder",
"Bud 'Lite'",
"Butterbean",
"Buttermilk",
"Buttocks",
"Chad",
"Chesterfield",
"Chewy",
"Chigger",
"Cinnabuns",
"Cleet",
"Cornbread",
"Crab Meat",
"Crapps",
"Dark Skies",
"Dennis Clawhammer",
"Dicman",
"Elphonso",
"Fancypants",
"Figgs",
"Foncy",
"Gootsy",
"Greasy Jim",
"Huckleberry",
"Huggy",
"Ignatious",
"Jimbo",
"Joe 'Pottin Soil'",
"Johnny",
"Lemongrass",
"Lil Debil",
"Longbranch",
'"Lunch Money"',
"Mergatroid",
'"Mr Peabody"',
"Oil-Can",
"Oinks",
"Old Scratch",
"Ovaltine",
"Pennywhistle",
"Pitchfork Ben",
"Potato Bug",
"Pushmeet",
"Rock Candy",
"Schlomo",
"Scratchensniff",
"Scut",
"Sid 'The Squirts'",
"Skidmark",
"Slaps",
"Snakes",
"Snoobs",
"Snorki",
"Soupcan Sam",
"Spitzitout",
"Squids",
"Stinky",
"Storyboard",
"Sweet Tea",
"TeeTee",
"Wheezy Joe",
"Winston 'Jazz Hands'",
"Worms",
)

last = (
"Appleyard",
"Bigmeat",
"Bloominshine",
"Boogerbottom",
"Breedslovetrout",
"Butterbaugh",
"Clovenhoof",
"Clutterbuck",
"Cocktoasten",
"Endicott",
"Fewhairs",
"Gooberdapple",
"Goodensmith",
"Goodpasture",
"Guster",
"Henderson",
"Hooperbag",
"Hoosenater",
"Hootkins",
"Jefferson",
"Jenkins",
"Jingley-Schmidt",
"Johnson",
"Kingfish",
"Listenbee",
"M'Bembo",
"McFadden",
"Moonshine",
"Nettles",
"Noseworthy",
"Olivetti",
"Outerbridge",
"Overpeck",
"Overturf",
"Oxhandler",
"Pealike",
"Pennywhistle",
"Peterson",
"Pieplow",
"Pinkerton",
"Porkins",
"Putney",
"Quakenbush",
"Rainwater",
"Rosenthal",
"Rubbins",
"Sackrider",
"Snuggleshine",
"Splern",
"Stevens",
"Stroganoff",
"Sugar-Gold",
"Swackhamer",
"Tippins",
"Turnipseed",
"Vinaigrette",
"Walkingstick",
"Wallbanger",
"Weewax",
"Weiners",
"Whipkey",
"Wigglesworth",
"Wimplesnatch",
"Winterkorn",
"Woolysocks",
)

while True:

Expand All @@ -44,7 +153,7 @@ def main():
lastName = random.choice(last)

print("\n\n")
print ("{} {}".format(firstName, lastName), file=sys.stderr)
print("{} {}".format(firstName, lastName), file=sys.stderr)
print("\n\n")

try_again = input("\n\nTry again? (Press Enter else n to quit)\n ")
Expand All @@ -53,5 +162,6 @@ def main():

input("\nPress Enter to exit.")


if __name__ == "__main__":
main()