Skip to content
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
171 changes: 141 additions & 30 deletions Chapter_1/pseudonyms_main_fixed.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,41 +2,151 @@
import sys
import random


def main():
"""Choose names at random from 2 tuples of names and print to screen."""
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:
first_name = random.choice(first)
Expand All @@ -53,5 +163,6 @@ def main():

input("\nPress Enter to exit.")


if __name__ == "__main__":
main()