-
Notifications
You must be signed in to change notification settings - Fork 0
/
kbcs.py
100 lines (87 loc) · 2.51 KB
/
kbcs.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
print('''
.....# Welcome To you in KBC #.....
''')
questions=[
" 1.How many continents in the world?",
" 2.Which day is observed as the world standard day?",
" 3.what is the national food of Navgurukul?",
" 4.Who is the author of the epic 'Magdoot'?",
" 5.September 27 is celebrated every year as?",
" 6.How many planets are there in our solar system?",
" 7.Who is the president of America?",
" 8.Where is the Navgurukul's girls campus in India?",
" 9.Who's that person name who said that 'Me madharchood hu jo yaha aaya'",
" 10.Who is Binod?",
" 11.How many stairs steps are in our campus?"
]
options=[
["1","5","4","7","50:50"],
["June 26","Oct 14","Nov 15","Dec 2","50:50"],
["Rice","Fried","Fried Rice","Dal","50:50"],
["Vamlmiki","Banabhata","Kalidas","Vishal","50:50"],
["Teacher,s Day","Natinal Integretion Day","World Tourism Day","International Day","50:50"],
["5","8","9","6","50:50"],
["Joe Biden","Donald Trump","Emmanuel Macron","Barack Obama","50:50"],
["Pune","Banglore","Delhi","Gurugram","50:50"],
["Baloon Wala","Parachute Wala","Ship Wala","Circus Wala","50:50"],
["Riyaz","Peter","Abhi Pata nhi hai","Deepak","50:50"],
["16","15","13","14","50:50"]
]
solutions=[4,2,3,3,3,2,1,2,2,3,1]
sol=[
[2,4],
[2,3],
[2,3],
[3,1],
[4,1],
[2,4],
[4,1],
[2,4],
[2,3],
[2,1],
[4,3]
]
n1=0 #for audio
n=0
# question's option counter
k=1
# for option number printing
d=0
# for 50:50 counter
for i in questions:
print(i)
print(''' Here Is Your Options...
''')
for i in options[n]:
if k==6:
k=1
print(" "+str(k),':', i)
k+=1
inp=int(input('''
Choose Your Answer:'''))
if inp==solutions[n]:
print('''
Congratulation! You Won
''')
elif inp==5:
if d==1:
print('''
Sorry!! You Already Choosed This 50:50 option
''')
else:
for i in range(1):
print(''' Choose Your 50:50 Answer:''', sol[n])
inp=int(input(''' Choose Your Answer:'''))
if inp==solutions[n]:
print(''' Congratulation! You Won Again
''')
d+=1
else:
print('''Your Answer Is Wrong.''')
d+=1
else:
print('''
Your Answer Is Wrong.''')
break
n+=1
n1+=1