Advertisement
KodingKid

Basic Python Quiz (feminine or masculine) - Part 2

May 13th, 2021
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.67 KB | None | 0 0
  1. #this script is a continuation of https://pastebin.com/rfJs4Vb9
  2. #i have to continue it as i remembered i forgot to put in what actually makes the entire thing work
  3. feminine = 0
  4. masculine = 0
  5. print("What is your favourite thing to do? Shop, Video Games, Play Sports, or Read")
  6. q2 = input()
  7. if q2 == "Read":
  8.     feminine + 1
  9. if q2 == "Play sports":
  10.     masculine + 2
  11. if q2 == "Video games":
  12.     masculine + 1
  13. if q2 == "Read":
  14.     feminine + 1    
  15. else:
  16.     print("Please re-enter your input.")
  17. if (masculine > feminine):
  18.     print("You are masculine")
  19. if (feminine > masculine):
  20.     print("You are feminine")
  21. if (feminine == masculine):
  22.     print("You are both")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement