What I will be showing in this post about my final program is the source code, which is basically the code that you write to get the program to output that you want it to. Just a warning, my code is a little long, so it will take a while to read it if you decide to. I’ve embedded it in the bottom of this post, along with a file with my project and a file saying how to run it.
For my Programming Cumulative Project, I decided to do a Buzzfeed type Personality Quiz that will tell the user which Lincoln Lutheran teacher they are. The source codewas based on mostly things that I had already learned how to do, except for one thing- the dictionary function, which I’ll get more into in the next paragraph. The output provides the user with their result, along with a short 1-2 sentence description of the teacher they are most like.
Sometimes, my computer can be a bit tough to run programs with and can confuse people (including me at first). I thought it would be helpful to include a file with both my python project and a little bit on how to run it and what to do while you’re taking the quiz. I hope that you choose to take the quiz, because I think it’s a lot of fun, especially if you’re a member of the student body or staff here at Lincoln Lutheran!
The first section of code that I have included is the beginning parts of my code. This includes my initial comments, main, creation of dictionary, and printing of instructions. The main is where every procedure is run, so that you can see everything that’s happening in a few lines of code. I’ve already talked about the dictionary a lot in my technicalities post and the printing of instructions is pretty simple. It’s just one long print statement.
""" Program: LL Teacher Personality Quiz Programmer: Paige T. Date Created: 5 December 2019 Date Updated: 13 December 2019 The user will answer a bunch of questions to find out which Lincoln Lutheran teacher they are. The user will answer different questions with answers that relate to certain teachers. The end result will be based on the number of answers the user inputted relating to the teachers and will output their result, along with a description of the teacher. Degree of Difficulty: Ask the user if they want to play again +1 Provide a description of the teacher +2 Use dictionary instead of 17 variables +2 Make sure the user's input is valid +1 """ import random from time import sleep def main(): print_instructions() playAgain = True while playAgain: teachers = make_teacher_dictionary() favoriteClass = question_one() teachers = points_class(favoriteClass, teachers) favoriteColor = question_two() teachers = points_color(favoriteColor, teachers) describeWord = question_three() teachers = points_word(describeWord, teachers) favoriteMusic = question_four() teachers = points_music(favoriteMusic, teachers) favoriteMovie = question_five() teachers = points_movie(favoriteMovie, teachers) favoriteTV = question_six() teachers = points_tv(favoriteTV, teachers) favoriteQuote = question_seven() teachers = points_quote(favoriteQuote, teachers) sportsTeam = question_eight() teachers = points_sports(sportsTeam, teachers) most, mostPoints, teacherResult = get_result(teachers) give_result(most) playAgain = get_boolean() def make_teacher_dictionary(): """Make a dictionary for all of the teachers so that adding up point totals is easier.""" # # Create a dictionary for all the teachers to be able to # add up points without passing 17 variables back and forth. # teachers = {} teachers['ziems'] = 0 teachers['mchargue'] = 0 teachers['bassett'] = 0 teachers['duitsman'] = 0 teachers['troyer'] = 0 teachers['stahr'] = 0 teachers['kollbaum'] = 0 teachers['werner'] = 0 teachers['schoettlin'] = 0 teachers['rickords'] = 0 teachers['seitz'] = 0 teachers['bartelt'] = 0 teachers['warrick'] = 0 teachers['snyder'] = 0 teachers['stumpf'] = 0 teachers['deeter'] = 0 teachers['ziegler'] = 0 teachers['sommerer'] = 0 return teachers def print_instructions(): """Print the instructions for the quiz.""" print() print("""Welcome to my personality quiz! If you've ever wondered what Lincoln Lutheran teacher you are, this quiz is for you! You will be asked a bunch of different questions, the answers to which directly relate to teachers here at LL. At the end, your result will be the teacher that you are most like, along with a description of them.""") print() sleep(1)
This next section is the bulk of my program (so it’s pretty long). It is all the procedures where I add points to the teachers in the dictionary and ask the users the questions. The adding points was really simple once I learned how to do it. All you have to do is add += and the number of points you want to add to the end of the string that looks like teachers[‘sommerer’]. To ask the users the questions, I just have an input statement for them to put in an answer, then a few lines of code making sure that what the user entered was valid.
def question_one(): """Asks the user what their favorite class is.""" print("===============================================") print("Which of these is your favorite class at Lincoln Lutheran so far?") print() sleep(1) print("""1. Biology 2. Spanish 3. History 4. English 5. Math 6. Foods/Sewing 7. Band 8. Religion 9. Art 10. Choir 11. Chemistry 12. Physical Education 13. Programming""") print() favoriteClass = input("Please enter a number 1-13: ") # # Make sure the user input is valid. # while favoriteClass not in ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13']: favoriteClass = input("Please enter a number 1-13: ") # # Make sure that the user inputs a number. # while favoriteClass.isalpha(): favoriteClass = input("Please enter a number 1-13: ") favoriteClass = int(favoriteClass) return favoriteClass def points_class(favoriteClass, teachers): """Assigns point totals based on the user's favorite class.""" # # Assign points to certain teachers based on the answer # using the values from the dictionary. # if favoriteClass == 1: teachers['ziems'] +=5 teachers['rickords'] +=5 teachers['deeter'] +=3 elif favoriteClass == 2: teachers['mchargue'] +=5 teachers['warrick'] +=5 elif favoriteClass == 3: teachers['bassett'] +=5 elif favoriteClass == 4: teachers['duitsman'] +=5 teachers['snyder'] +=5 teachers['stumpf'] +=5 elif favoriteClass == 5: teachers['troyer'] +=7 teachers['kollbaum'] +=5 elif favoriteClass == 6: teachers['stahr'] +=5 elif favoriteClass == 7: teachers['werner'] +=5 elif favoriteClass == 8: teachers['schoettlin'] +=5 teachers['bassett'] +=3 elif favoriteClass == 9: teachers['seitz'] +=5 elif favoriteClass == 10: teachers['bartelt'] +=5 elif favoriteClass == 11: teachers['deeter'] +=5 teachers['rickords'] +=3 elif favoriteClass == 12: teachers['ziegler'] +=5 elif favoriteClass == 13: teachers['sommerer'] +=5 return teachers def question_two(): """Asks the user what their favorite color is.""" print("===============================================") print("Which of these is your favorite color?") print() sleep(1) print("""1. Carolina Blue 2. Navy 3. Jewel Tones 4. Blue 5. Turquoise 6. Red 7. Grey 8. Green 9. Purple 10. Silver""") print() favoriteColor = input("Please enter a number 1-10: ") while favoriteColor not in ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10']: favoriteColor = input("***Please enter a number 1-10: ") while favoriteColor.isalpha(): favoriteColor = input("***Please enter a number 1-10: ") favoriteColor = int(favoriteColor) return favoriteColor def points_color(favoriteColor, teachers): """Assigns points to teachers based on the user's favorite color.""" if favoriteColor == 1: teachers['ziems'] +=5 elif favoriteColor == 2: teachers['bassett'] +=5 elif favoriteColor == 3: teachers['mchargue'] +=5 elif favoriteColor == 4: teachers['duitsman'] +=5 teachers['troyer'] +=5 teachers['schoettlin'] +=5 teachers['seitz'] +=5 teachers['snyder'] +=5 teachers['deeter'] +=5 teachers['sommerer'] +=5 elif favoriteColor == 5: teachers['stahr'] +=5 teachers['ziegler'] +=5 elif favoriteColor == 6: teachers['kollbaum'] +=5 elif favoriteColor == 7: teachers['werner'] +=5 elif favoriteColor == 8: teachers['rickords'] +=5 teachers['bartelt'] +=3 elif favoriteColor == 9: teachers['bartelt'] +=3 teachers['warrick'] +=5 elif favoriteColor == 10: teachers['stumpf'] +=5 return teachers def question_three(): """Asks the user which word they would use to describe themselves.""" print("===============================================") print("Which of these words would you use to describe yourself?") print() sleep(1) print("""1. Kind 2. Introspective 3. Complex 4. Weird 5. Hermit 6. Responsible 7. Caring 8. Content 9. Confident 10. Active 11. Happy 12. Odd 13. Loyal 14. Creative 15. I have no idea. 16. Listener 17. Inquisitive""") print() describeWord = input("Please enter a number 1-17: ") while describeWord not in ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17']: describeWord = input("Please enter a number 1-17: ") while describeWord.isalpha(): describeWord = input("Please enter a number 1-17: ") describeWord = int(describeWord) return describeWord def points_word(describeWord, teachers): """Assigns points for each teacher based on which word the user chose.""" if describeWord == 1: teachers['duitsman'] +=5 elif describeWord == 2: teachers['ziems'] +=5 elif describeWord == 3: teachers['bassett'] +=5 elif describeWord == 4: teachers['mchargue'] +=5 elif describeWord == 5: teachers['troyer'] +=5 elif describeWord == 6: teachers['stahr'] +=5 elif describeWord == 7: teachers['kollbaum'] +=5 elif describeWord == 8: teachers['werner'] +=5 elif describeWord == 9: teachers['schoettlin'] +=5 elif describeWord == 10: teachers['rickords'] +=5 elif describeWord == 11: teachers['seitz'] +=5 elif describeWord == 12: teachers['bartelt'] +=5 elif describeWord == 13: teachers['warrick'] +=5 elif describeWord == 14: teachers['snyder'] +=5 elif describeWord == 15: teachers['stumpf'] +=5 elif describeWord == 16: teachers['deeter'] +=5 elif describeWord == 17: teachers['ziegler'] +=5 return teachers def question_four(): """Asks the user what their favorite kind of music is.""" print("===============================================") print("Which of these is your favorite kind of music?") print() sleep(1) print("""1. Showtunes 2. Folk 3. All kinds 4. 70s Classic Rock 5. Bruce Springsteen 6. Christian 7. 90s Alt. 8. Pop 9. Christmas 10. Romantic 11. 80s and 90s Rock 12. Experimental Ambient Noise 13. Smooth Jazz 14. Classic Rock 15. Christian Pop""") print() favoriteMusic = input("Please enter a number 1-15: ") while favoriteMusic not in ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15']: favoriteMusic = input("Please enter a number 1-15: ") while favoriteMusic.isalpha(): favoriteMusic = input("Please enter a number 1-15: ") favoriteMusic = int(favoriteMusic) return favoriteMusic def points_music(favoriteMusic, teachers): """Assigns points to each teacher based on the user's favorite type of music.""" if favoriteMusic == 1: teachers['duitsman'] +=4 elif favoriteMusic == 2: teachers['mchargue'] +=4 elif favoriteMusic == 3: teachers['ziems'] +=4 elif favoriteMusic == 4: teachers['troyer'] +=4 elif favoriteMusic == 5: teachers['bassett'] +=4 elif favoriteMusic == 6: teachers['stahr'] +=4 teachers['seitz'] +=4 elif favoriteMusic == 7: teachers['kollbaum'] +=4 elif favoriteMusic == 8: teachers['warrick'] +=4 elif favoriteMusic == 9: teachers['stumpf'] +=4 elif favoriteMusic == 10: teachers['bartelt'] +=4 elif favoriteMusic == 11: teachers['rickords'] +=4 elif favoriteMusic == 12: teachers['werner'] +=4 elif favoriteMusic == 13: teachers['ziegler'] +=4 elif favoriteMusic == 14: teachers['schoettlin'] +=4 teachers['sommerer'] +=4 elif favoriteMusic == 15: teachers['snyder'] +=4 return teachers def question_five(): """Asks the user what their favorite movie is.""" print("===============================================") print("Which of these movies is your favorite?") print() sleep(1) print("""1. Toy Story 2. What About Raymond 3. The Princess Bride 4. Back to the Future 5. Won't You Be my Neighbor 6. To Kill a Mockingbird 7. I don't have one. 8. Sound of Music 9. Big Fish 10. The Searchers 11. Mamma Mia 12. Star Wars 13. Gone Girl 14. Christmas Vacation""") print() favoriteMovie = input("Please enter a number 1-14: ") while favoriteMovie not in ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14']: favoriteMovie = input("Please enter a number 1-14: ") while favoriteMovie.isalpha(): favoriteMovie = input("Please enter a number 1-14: ") favoriteMovie = int(favoriteMovie) return favoriteMovie def points_movie(favoriteMovie, teachers): """Assigns points to each teacher based on the user's favorite movie.""" if favoriteMovie == 1: teachers['bassett'] +=5 elif favoriteMovie == 2: teachers['ziems'] +=5 elif favoriteMovie == 3: teachers['duitsman'] +=5 elif favoriteMovie == 4: teachers['troyer'] +=5 elif favoriteMovie == 5: teachers['mchargue'] +=5 elif favoriteMovie == 6: teachers['stahr'] +=5 elif favoriteMovie == 7: teachers['snyder'] +=5 teachers['stumpf'] +=5 elif favoriteMovie == 8: teachers['deeter'] +=5 elif favoriteMovie == 9: teachers['warrick'] +=5 elif favoriteMovie == 10: teachers['rickords'] +=5 elif favoriteMovie == 11: teachers['ziegler'] +=5 elif favoriteMovie == 12: teachers['schoettlin'] +=5 teachers['sommerer'] +=5 elif favoriteMovie == 13: teachers['werner'] +=5 elif favoriteMovie == 14: teachers['seitz'] +=5 return teachers def question_six(): """Asks the user what their favorite TV show is.""" print("===============================================") print("Which of these is your favorite tv show?") print() sleep(1) print("""1. Thirty Rock 2. House 3. MASH 4. Parks and Recreation 5. Coach 6. Blue Bloods 7. The Goldbergs 8. The Mandalorian 9. I don't have one. 10. Good Morning America 11. Call the Midwife 12. Fringe 13. Gilmore Girls 14. Friends 15. NCIS""") print() favoriteTV = input("Please enter a number 1-15: ") while favoriteTV not in ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15']: favoriteTV = input("Please enter a number 1-15: ") while favoriteTV.isalpha(): favoriteTV = input("Please enter a number 1-15: ") favoriteTV = int(favoriteTV) return favoriteTV def points_tv(favoriteTV, teachers): """Assigns points to each teacher based on the user's favorite TV show.""" if favoriteTV == 1: teachers['mchargue'] +=5 elif favoriteTV == 2: teachers['duitsman'] +=5 elif favoriteTV == 3: teachers['troyer'] +=5 elif favoriteTV == 4: teachers['bassett'] +=5 teachers['werner'] +=5 elif favoriteTV == 5: teachers['ziems'] +=5 elif favoriteTV == 6: teachers['stahr'] +=5 elif favoriteTV == 7: teachers['kollbaum'] +=5 elif favoriteTV == 8: teachers['schoettlin'] +=5 elif favoriteTV == 9: teachers['seitz'] +=5 elif favoriteTV == 10: teachers['ziegler'] +=5 elif favoriteTV == 11: teachers['deeter'] +=5 elif favoriteTV == 12: teachers['warrick'] +=5 elif favoriteTV == 13: teachers['snyder'] +=5 elif favoriteTV == 14: teachers['stumpf'] +=5 elif favoriteTV == 15: teachers['bartelt'] +=5 return teachers def question_seven(): """Asks the user what their favorite quote is.""" print("===============================================") print("Which of these is your favorite quote?") print() sleep(1) print("""1. 'For God so loved the world, he gave his one and only son, that whoever believes in him should not perish but have eternal life.' 2. 'What you do speaks so loudly, I cannot hear what you say.' 3. 'Everything is figureoutable.' 4. 'Give'em Heaven.' 5. 'For me, to live is Christ and to die is gain.' 6. 'Life is all about how you handle Plan B.' 7. 'You are never too old to set another goal or to dream a new dream.' 8. 'He's got vomit on his sweater already, Mom's Spaghetti.' 9. "But the great thing to remember is that, though our feelings come and go, His love for us does not. It is not wearied by our sins, or our indifference; and, therefore, it is quite relentless in its determination that we shall be cured of those sins, at whatever cost to us, at whatever cost to Him.' 10. "Trust in the Lord with all your heart and lean not on your own understanding, but in all your ways acknowledge him and he will make straight your paths.' 11. “My grace is sufficient for you, for my power is made perfect in weakness.” Therefore I will boast all the more gladly of my weaknesses, so that the power of Christ may rest upon me. 10 For the sake of Christ, then, I am content with weaknesses, insults, hardships, persecutions, and calamities.For when I am weak, then I am strong.' 12. 2 Corinthians 5:21: 'For our sake He made Him to be sin who knew no sin,so that in Him we might become the righteousness of God.' 13. "We do these things not because they are easy, but because they are hard.' 14. I don't have one. 15. 'God is our refuge and strength.' 16. 'Success was never achieved without hard work.'""") print() favoriteQuote = input("Please enter a number 1-16: ") while favoriteQuote not in ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16']: favoriteQuote = input("Please enter a number 1-16: ") while favoriteQuote.isalpha(): favoriteQuote = input("Please enter a number 1-16: ") favoriteQuote = int(favoriteQuote) return favoriteQuote def points_quote(favoriteQuote, teachers): """Assigns points to the teachers based on the user's favorite quote.""" if favoriteQuote == 1: teachers['troyer'] +=7 elif favoriteQuote == 2: teachers['duitsman'] +=7 elif favoriteQuote == 3: teachers['mchargue'] +=7 elif favoriteQuote == 4: teachers['ziems'] +=7 elif favoriteQuote == 5: teachers['bassett'] +=7 elif favoriteQuote == 6: teachers['stahr'] +=7 elif favoriteQuote == 7: teachers['kollbaum'] +=7 elif favoriteQuote == 8: teachers['werner'] +=7 elif favoriteQuote == 9: teachers['schoettlin'] +=7 elif favoriteQuote == 10: teachers['rickords'] +=7 elif favoriteQuote == 11: teachers['seitz'] +=5 elif favoriteQuote == 12: teachers['bartelt'] +=7 elif favoriteQuote == 13: teachers['warrick'] +=7 elif favoriteQuote == 14: teachers['snyder'] +=7 teachers['stumpf'] +=7 teachers['sommerer'] +=5 elif favoriteQuote == 15: teachers['deeter'] +=7 elif favoriteQuote == 16: teachers['ziegler'] +=7 return teachers def question_eight(): """Asks the user what their favorite sports team is.""" print("===============================================") print("Which of these is your favorite sports team?") print() sleep(1) print("""1. KC Royals 2. Nebraska Huskers 3. Green Bay Packers 4. Duke Blue Devils 5. Detroit Red Wings 6. Iowa Hawkeyes 7. Minnesota Twins 8. Chicago Cubs 9. St. Louis Cardinals 10. LL Warriors 11. Husker Volleyball 12. Kansas Basketball 13. Anything from Kansas 14. Minnesota Vikings""") print() sportsTeam = input("Please enter a number 1-15: ") print() while sportsTeam not in ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15']: sportsTeam = input("Please enter a number 1-15: ") while sportsTeam.isalpha(): sportsTeam = input("Please enter a number 1-15: ") sportsTeam = int(sportsTeam) return sportsTeam def points_sports(sportsTeam, teachers): """Assigns points to the teachers based on the user's favorite sports team.""" if sportsTeam == 1: teachers['mchargue'] +=5 elif sportsTeam == 2: teachers['troyer'] +=5 teachers['deeter'] +=5 elif sportsTeam == 3: teachers['bartelt'] +=5 elif sportsTeam == 4: teachers['duitsman'] +=5 elif sportsTeam == 5: teachers['bassett'] +=5 elif sportsTeam == 6: teachers['kollbaum'] +=5 elif sportsTeam == 7: teachers['werner'] +=5 elif sportsTeam == 8: teachers['stumpf'] +=5 elif sportsTeam == 9: teachers['rickords'] +=5 teachers['sommerer'] +=5 elif sportsTeam == 10: teachers['ziems'] +=5 teachers['stahr'] +=5 teachers['seitz'] +=5 elif sportsTeam == 11: teachers['warrick'] +=5 elif sportsTeam == 12: teachers['snyder'] +=5 elif sportsTeam == 13: teachers['schoettlin'] +=5 elif sportsTeam == 14: teachers['ziegler'] +=5 return teachers
The final section that I’m showing is just some other functions that were necessary to make my program run the way I wanted it to. These include get_boolean, get_result, and give_result. The get_boolean function asks the user if they want to play again, and makes sure that they’re answering something that’s yes or no. If they aren’t, the program will continue checking their answer and asking them to answer something else. The boolean set at the beginning of my program is True, so if the user enters yes, the boolean will stay True and the program will run again. If they enter false, it will stop running. The get_result function was talked about more in my cumulative project post. The give_result function that I wrote is basically just a bunch of print statements that will print out based on which teacher the user got.
def get_boolean(): """Asks the user if they want to play again.""" print() playAgain = input("Would you like to play again? ") # # Allow the user input to be lowercase. # playAgain = playAgain.lower() if playAgain in ["yeah", "yes", "y", "sure", "okay", "yes please", "si"]: boolean = True elif playAgain in ["no", "nah", "nope", "n", "no thanks"]: boolean = False # # Make sure the user is inputting yes or no. # else: print("Please put yes or no. ") playAgain = get_boolean() return boolean def get_result(teachers): """Gets the result for the teacher the user is most like.""" # # Set parameters for most and most points to base # teacher numbers off of. # most = 'none' mostPoints = 0 for teacherResult in teachers: if teachers[teacherResult] > mostPoints: most = teacherResult mostPoints = teachers[teacherResult] teacherResult = most return most, mostPoints, teacherResult def give_result(most): """Print messages based on the result of the quiz.""" if most == 'bassett': print("""Congratulations! You are most like Mr. Bassett! He teaches Social Studies and Religion classes here at Lincoln Lutheran and enjoys making fun of Colten Waldo.""") elif most == 'ziems': print("""Congratulations! You are most like Mr. Ziems! He teaches Science and Religion classes here at Lincoln Lutheran and enjoy dissecting dead animals and looking at yeast under a microscope.""") elif most == 'mchargue': print("""Congratulations! You are most like Mrs. McHargue! She teaches Spanish Classes here at Lincoln Lutheran and definitely loves her coffee!""") elif most == 'duitsman': print("""Congratulations! You are most like Mrs. Duitsman! She teaches English and InterCom here at Lincoln Lutheran and likes musicals!""") elif most == 'troyer': print("""Congratulations! You are most like Mrs. Troyer! She teaches Math classes here at Lincoln Lutheran and is especially enthusiastic about derivatives, Papermate Gel Pens, and the new Statistics Book.""") elif most == 'stahr': print("""Congratulations! You are most like Mrs. Stahr! She teaches FCS classes here at Lincoln Lutheran and loves cooking and sewing!""") elif most == 'kollbaum': print("""Congratulations! You are most like Mr. Kollbaum! He teaches Math classes here at Lincoln Lutheran and is an avid fan of the Iowa Hawkeyes.""") elif most == 'werner': print("""Congratulations! You are most like Mr. Werner! He teaches Band classes here at Lincoln Lutheran and conducts pep band and jazz band. He enjoys 'experimental ambient noise'.""") elif most == 'schoettlin': print("""Congratulations! You are most like Mr. Schoettlin! He teaches Theology classes here at Lincoln Lutheran and enjoys Star Wars and confusing juniors while he talks about the Hypostatic Union.""") elif most == 'rickords': print("""Congratulations! You are most like Mr. Rickords! He teaches MS Science classes here at Lincoln Lutheran and enjoys coaching Science Bowl and wearing fun suits.""") elif most == 'seitz': print("""Congratulations! You are most like Mrs. Seitz! She teaches Art classes here at Lincoln Lutheran and loves her students! She also is the leader of the RAK club.""") elif most == 'bartelt': print("""Congratulations! You are most like Ms. Bartelt! She teaches Choir and Religion classes here at Lincoln Lutheran and is one of the new teachers here this year!""") elif most == 'warrick': print("""Congratulations! You are most like Ms. Warrick! She teaches Spanish classes here at Lincoln Lutheran and is one of the new teachers here this year!""") elif most == 'snyder': print("""Congratulations! You are most like Ms. Snyder! She teaches English classes here at Lincoln Lutheran and spent a while teaching in Cambodia!""") elif most == 'stumpf': print("""Congratulations! You are most like Mrs. Stumpf! She teaches 6th Grade classes here at Lincoln Lutheran and her favorite TV show is Friends!""") elif most == 'deeter': print("""Congratulations! You are most like Mr. Deeter! He teaches HS Science classes here at Lincoln Lutheran and enjoys his Alexa and making weird noises while his students are taking tests.""") elif most == 'ziegler': print("""Congratulations! You are most like Mrs. Ziegler! She teaches Wellness classes here at Lincoln Lutheran along with coaching the volleyball team. She loves her Scooters coffee!""") elif most == 'sommerer': print("""Congratulations! You are most like Mr. Sommerer! He teaches Computer classes here at Lincoln Lutheran and is especially proud of his beard and loves the Chicago Cubs (just kidding).""") print() main()