Advertisement
KodingKid

Basic Python Quiz (feminine or masculine)

May 12th, 2021
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.43 KB | None | 0 0
  1. feminine = 0
  2. masculine = 0
  3. print("What is your favourite colour? Red, blue, purple, or green")
  4. q1 = input()
  5. if q1 == "Red":
  6.     feminine + 2
  7. if q1 == "Purple":
  8.     feminine + 1
  9. if q1 == "Blue":
  10.     masculine + 2
  11. if q1 == "Green":
  12.     masculine + 1    
  13. #i could do more questions but i can't be asked lol :)    
  14. #if i feel like it i might redo this some time in the future and make it a lot better so stay around for that :D
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement