Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def guessingGame():
- anwsers = ["Kononowicz", "Suchodolski"]
- questionTries = 3
- questionTriesCounter = 0
- while questionTriesCounter < questionTries:
- firstQuestion = input("What is the surname of famous president from Bialystok? ")
- if firstQuestion == anwsers[0]:
- secondQuestion = input("What is the nick")
- else:
- questionTriesCounter+= 1
- if questionTriesCounter == questionTries:
- print('game over.')
- guessingGame()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement