-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathquizgame.py
More file actions
41 lines (26 loc) · 694 Bytes
/
quizgame.py
File metadata and controls
41 lines (26 loc) · 694 Bytes
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
34
35
36
37
38
39
40
print("welecome to mu computer game")
scroe =0
play= input("do you want play this game ?: ")
if play != "yes":
quit()
print("ready for next game")
answer = input("cpu stands for : ")
if answer.lower()=="computer process unit":
print("yes correct answer")
score =+1
else:
print("wrong answer ")
answer =input("who stands for : ")
if answer.lower()=="world health organization":
print("correct answer ")
score =+1
else:
print("wrong answer")
answer =input("tdp stands for : ")
if answer.lower()=="telugu desam":
print("correct answer")
score =+1
else:
print("wrong answer ")
total = (score /3)*100
print(f"your correct answers is {total}")