-
Notifications
You must be signed in to change notification settings - Fork 0
/
Quiz.py
33 lines (30 loc) · 914 Bytes
/
Quiz.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
print("Welcome to my Quizz ")
score = 0
playing = input("You want to play a cool game? ")
if playing.lower() !="yes":
quit()
answer = input(("which country is the best in the world? "))
if answer.lower() == "north korea":
print("You may Live for the next ROUND")
score +=1
else:
print("incorrect")
answer = input("who is your supreme commander and leader: ")
if answer.lower()=="kim jon un":
print("Great")
score +=1
else:
print("Your execution will be in 10 minutes....")
print('You have answered ' + str(score ) + 'right')
extra = score
playing = input("You wish to continue again?: ")
if playing.lower()!= "yes":
print("ok bye")
quit()
answer = input("capital of North Korea?: ")
if answer.lower()=="pyongyang":
print("corect")
extra +=1
else:
print("bye from this world ")
print("Total Score as of now is: " + str(extra))