Download as pdf or txt
Download as pdf or txt
You are on page 1of 51

INFORMATICS PRACTICES

INVESTIGATORY FILE
TOPIC-“QUIZ GAME, WITH PYTHON ”

SUBMITTED TO:-
MRS.SANGEETA M. CHAUHAN
SUBMITTED BY:-
MAYANK AND M.CHAITANYA
INTRODUCTION
My project on ‘QUIZ GAME’ is quiz game
which is used to check intelligence of the
user .This game contain a lot of
questions, this game is really
entertaining and knowledgeable for the
user.
This quiz game is made with python
programming language, n this game the
questions are about basic general
knowledge , AT the per right answer the
fixed points are given and no negative
marking is there
I used many modules in this game, most
of them are basic modules but some are
made by the my teacher, to make to the
game user friendly and attractive.
ACKNOWLEDGEMENT
In the accomplishment of this project sucessfully. Many people
have best owned upon me their blessings and the heart pledge
support, this time iam utilizing to thank all the people who have
been concerned with project.
Primarily I would thank god for being able to complete this
project success. Then I would like to thank my principle Mr.
Raghvendra Lalsantania and teacher Mrs. Sangeeta M. Chauhan
whose valuable guidance has been ones that helped me patch
project and make it full proof success his suggestions and his
instructions has serve as the major contribution towards the
completion of the project.
Then I would like to thank my parents and friends who have
helped me with their valuable suggestions and guidance has been
helpful in various phases of the completion of the project
CERTIFICATE
This is certified that Mayank Bisht of class XI ’C’ has successfully
completed his project under the guidance of I.P teacher Mrs.
Sangeeta M. Chauhan, she has shown utmost care and sincerity
during the completion of this project. His project is as per the
instructions issued by Central Board Of Secondary Education
(C.B.S.E) 2019-2020.

Signature of Teacher
(Mrs Sangeeta M.Chauhan)
from playsound import playsound

import sys

import colorcode as c

color = sys.stdout.shell

import time

import numpy as np

p=np.array([0])

print("")

color.write("****************************************WELCOME*************************************
***",c.purple)

color.write("\t\t\t \t\t\t\t\t\tTO\t\t\t ",c.black)

color.write("\n\t\t\t @QUIZE TARRENT#\t\t\t ",c.black)

print("\n\t\t\tLet's test Your knowledge ")

playsound("kbc.mp3")

a=input("\nenter the name of the participant\n ")

color.write("RULES For the game \n (1). Here are 10 questions \n (2).Each question
contains 10 points \n",c.red,)

x=input("enter the difficulti level \n (1). easy \n (2).moderate \n (3).hard \n")

if(x=="easy" or x=="1"):

playsound("drums.mp3")

q1=input("\n\n(Q1).What is the highest peak in he world ? \n(a).Everest \t \t \t \t \t


(b)K2 \n (c).Kangcchenjuunga \t \t \t \t (d).None of these \n")

if(q1=="a" or q1 =="everest" or q1=="Everest"):

color.write("CORRECT ANSWER \n Everest",c.green)

p=p+10
else:

color.write("wrong answer \n Correct answer is mount Everest \n",c.red)

playsound("abe.mp3")

print("\n ------------------------------------------------------------------------------------")

playsound("drums.mp3")

#------------------------------------------------------------------------------------------------------------------------
------------------------------------------------

q2=input("\n\n(Q2).Most handsome man in the world? \n (a).Hithik Roshan \t \t \t


(b).Tom Cruise \t \t \t \t \t \n (c)Justin Treau\t \t \t \t(d).Chris Evans\n")

if(q2=="b" or q2=="tom cruise" or q2=="Tom Cruise"):

color.write("CORRECT ANSWER \n Tom Cruise",c.green)

p=p+10

else:

color.write("wrong answer \n correct answer is Tom Cruise ",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q3=input("\n\n(Q3).Fastest car in the world in 2020?\n(a).Hennessey Venom \t\t\t


(b).Ferrari \n (c).Bugatti Chiron \t\t\t (d).Koenigsegg Agera \n")

if(q3=="a" or q2=="hennessey venom" or q2=="Hennessey Venom"):

color.write("CORRECT ANSWER \n Hennessey Venom with speed of


484km/h",c.green)

p=p+10

else:

color.write("wrong answer \n correct answer is Hennessey Venom with speed of


484km/h ",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")
playsound("drums.mp3")\

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q4=input("\n\n(Q4).Who is he richest person in then world?\n(a)Bill Gates\t\t\t (b).Jeff


Bezos \n (c).Bernard Arnault \t\t\t(d).Mukesh Ambani \n")

if(q4=="b" or q4=="Jeff Bezos" or q4 =="jeff bezos"):

color.write("CORRECT ANSWER \n Jeff bezos with net worth $108.6


Billion",c.green)

p=p+10

else:

color.write("wrong answer \n correct answer is Jeff Bezos ",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#------------------------------------------------------------------------------------------------------------------------
------------------------------------------------

q5=input("\n\n(Q5).Most English speaking country in the world?\n(a)U.S.A\t\t\t


(b).India \n (c).Nigeria \t\t\t(d).United Kingdom \n")

if(q5=="a" or q5=="USA" or q5 =="U.S.A"):

color.write("CORRECT ANSWER \n USA",c.green)

p=p+10

else:

color.write("wrong answer \n rightt answer is U.S.A",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q6=input("\n\n(Q6).What is the full form of RO?\n(a)Reverse otomation\t\t\t


(b).Reverse osmosis \n (c).refined oxygen \t\t\t(d).None of these \n")
if(q6=="b" or q6=="reverse osmosis" or q6 =="Reverse Osmosis"):

color.write("CORRECT ANSWER \n Reverse Osmosis",c.green)

p=p+10

else:

color.write("wrong answer \n right answer is Reverse osmosis",c.red)

playsound("abe.mp3")

#----------------------------------------------------------------------------------------------------------------------
--------------------------------------------------

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q7=input("\n\n(Q7).When was Bombay named mumbai?\n(a)In 1996\t\t\t (b).In 1999 \n


(c).In 1995 \t\t\t(d).in1998 \n")

if(q7=="c" or q7=="1995" or q7 =="In1995"):

color.write("CORRECT ANSWER \n In1995",c.green)

p=p+10

else:

color.write("wrong answer \n correct answer is In1995 Bombay named as


bombay",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q8=input("\n\n(Q8).Where is he world's biggest Roller Coastert?\n(a)New Jersey\t\t\t


(b).India \n (c).united kingdom \t\t\t(d).Euurope \n")

if(q8=="a" or q8=="New Jersey" or q8 =="new jersey"):

p=p+10

color.write("CORRECT ANSWER \n Kingda ka New Jersey,U.S.A",c.green)


else:

color.write("wrong answer \n correct answer is New Jersey",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q9=input("\n\n(Q9).Who is the General Directer of the WTO in 2020


?\n(a)Robertson\t\t\t (b).Roberto Azevêdo\n (c).Robert Suzen \t\t\t(d).Thomas Robert
\n")

if(q9=="b" or q9=="roberto azevêdo" or q9 =="Roberto Azevêdo"):

p=p+10

color.write("CORRECT ANSWER \n Roberto Azevêdo",c.green)

else:

color.write("wrong answer \n correct answer is Roberto Azevêdo",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q10=input("\n\n(Q10).The first and the last Indian to become Governor General of


Independent India ?\n(a)Lord Mountbatten\t\t\t (b). Mr.C.Raj Gopalachari \n
(c).Dr.Rajendra Prasad \t\t\t(d).Mr.W.C Banerjee \n")

if(q10=="b" or q10=="Mr.C.Raj Gopalachari" or q10 =="Mr.c.raj gopalachari"):

p=p+10

color.write("CORRECT ANSWER \n Mr.C.Raj Gopalachari",c.green)

else:

color.write("wrong answer \n correct answer is \n Mr.C.Raj Gopalachari",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")
playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q11=input("\n\n(Q11).What is the recrod time for longest lasted kiss ever done--
?\n(a)59hours 30minutes and 22seconds\t\t\t (b). 60hours 30minutes and 23seconds
\n (c).58hours 35minutes and 58seconds\t\t\t(d).nome of these \n")

if(q11=="c" or q11=="58hours 35minutes and 58seconds" or q11 =="58hours


35minutes and 58seconds"):

p=p+10

color.write("CORRECT ANSWER \n 58hours 35minutes and 58seconds ,achieved by


Ekkachai Tiranart and Laksana Tiranart",c.green)

else:

color.write("wrong answer \n correct answer is \n 58hours 35minutes and


58seconds ,achieved by Ekkachai Tiranart and Laksana Tiranart",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q12=input("\n\n(Q12).Which country has highest petrol price ?\n(a)India \t\t\t (b).


France \n (c).USA\t\t\t(d).Iceland \n")

if(q12=="d" or q12=="Iceland" or q12 =="iceland"):

p=p+10

color.write("CORRECT ANSWER \n ICELAND \n price-2.10$(149 Indian


Rupees)",c.green)

else:

color.write("wrong answer \n correct answer is \n ICELAND \n price-2.10$(149


Indian Rupees)",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")
#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q13=input("\n\n(Q13).Which country is the world's largest producer of gold


?\n(a)India \t\t\t (b).China \n (c).USA\t\t\t(d).Iceland \n")

if(q13=="b" or q13=="China" or q13 =="china"):

p=p+10

color.write("CORRECT ANSWER \n CHINA",c.green)

else:

color.write("wrong answer \n correct answer is \n CHINA",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q14=input("\n\n(Q14).What is age of Ranu Mandal ?\n(a)58years \t\t\t (b).60years \n


(c).57years\t\t\t(d).59years \n")

if(q14=="d" or q14=="59Years" or q14 =="59years"):

p=p+10

color.write("CORRECT ANSWER \n59YEARS \n 5 November 1960",c.green)

else:

color.write("wrong answer \n correct answer is \n 59YEARS \n 5 November


1960",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------
q15=input("\n\n(Q15).Which is the longest river in the world?\n(a)Nile \t\t\t (b).Ganga
\n (c).amazon river\t\t\t(d).Yangtze \n")

if(q15=="a" or q15=="Nile" or q15 =="nile"):

p=p+10

color.write("CORRECT ANSWER \n NILE \n length- 6650 ",c.green)

else:

color.write("wrong answer \n correct answer is \n The Nile \n length- 6650",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q16=input("\n\n(Q16).Which is the largest ocean in the world?\n(a)Indian Ocean \t\t\t


(b).Arabian ocean \n (c).Pacific Ocean\t\t\t(d).Antartic Ocean \n")

if(q16=="c" or q16=="pacific ocean" or q16 =="Pacific Ocean"):

p=p+10

color.write("CORRECT ANSWER \n PACIFIC OCEAN ",c.green)

else:

color.write("wrong answer \n correct answer is \nPACIFIC OCEAN",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q17=input("\n\n(Q17).Which is the largest Dam in the world?\n(a)The Gorges Dam


\t\t\t (b).Narmada Dam \n (c).Tighra Dam\t\t\t(d).Sardar Sarovar Dam \n")

if(q16=="a" or q16==" gorges dam" or q16 =="The Gorges Dam"):

p=p+10

color.write("CORRECT ANSWER \n The Gorges Dam ",c.green)


else:

color.write("wrong answer \n correct answer is \nThe Gorges Dam",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#------------------------------------------------------------------------------------------------------------------------
------------------------------------------------

q18=input("\n\n(Q18).Which is the first city in the world that an atomic bomb was
dropped?\n(a)Nagasaki \t\t\t (b).Hiroshima \n (c).Transalvenia\t\t\t(d).France \n")

if(q18=="b" or q18=="Hiroshima" or q18 =="hiroshima"):

p=p+10

color.write("CORRECT ANSWER \n Hiroshima ,Japan ",c.green)

else:

color.write("wrong answer \n correct answer is \nHiroshima ,Japan",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q19=input("\n\n(Q19).What is the full form of JIO ?\n(a)Joint Impression


Opportunities \t\t\t (b).Junior ipmlementation Opportunities \n (c).Joint
Implementation Opprtunities\t\t\t(d).None of these \n")

if(q19=="c" or q19==".Joint Implementation Opprtunities" or q19 ==".joint


implementation opprtunities"):

p=p+10

color.write("CORRECT ANSWER \n .Joint Implementation Opprtunities ",c.green)

else:

color.write("wrong answer \n correct answer is \n. Joint Implementation


Opprtunities",c.red)

playsound("abe.mp3")
print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q20=input("\n\n(Q20).What is the most expensive coffee in the world? ?\n(a)Civiet


coffee \t\t\t (b).Kopi Luwak \n (c).both(a)and(b)\t\t\t (d).none of these \n")

if(q20=="b" or q20=="Kopi Luwak" or q20 ==".kopi luwak"):

p=p+10

color.write("CORRECT ANSWER \n .KOPI LUWAK \n comes from Cat Poop


",c.green)

else:

color.write("wrong answer \n correct answer is \n.KOPI LUWAK \n comes from Cat


Poop",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

elif(x=="moderate" or x=="2"):

q1=input("\n (Q1).Who has been appointed the new director of CBI?\n(a).DrG.C


Anupama \t\t\t (b).Rishi Kumar Shukla \n (c).Miss Geeta Phogat\t\t\t (d).CA Upkar
Singh\n")

if(q1=="b" or q1=="Rishi Kumar Shukla" or q1=="rishi kumar shukla"):

p=p+10

color.write("CORRECT ANSWER \n RISHI KUMAR SHUKLA ",c.green)

else:

color.write("WRONG ANSWER \n CORRECT ANSWER IS RISHI KUMAR


SHUKLA",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")
playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q2=input("\n (Q2).Who become the first woman president of ASI(Astronomical


Society of INDIA)?\n(a).DrG.C Anupama \t\t\t (b).Rishi Kumar Shukla\n(c).Miss Geeta
Phogat\t\t\t (d).CA Upkar Singh\n")

if(q2=="a" or q2=="Dr G.C.ANUPAMA" or q2=="Dr GC anupama "):

p=p+10

color.write("CORRECT ANSWER \n Dr.G.C.ANUPAMA ",c.green)

else:

color.write("WRONG ANSWER \n CORRECT ANSWER IS Dr.G.C.ANUPAMA",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q3=input("\n (Q3).India sucessfully test-fired its helicopter launched anti-tank missile


named-----?\n(a).HELINA \t\t\t (b).AGNI\n (c).Brahmastra\t\t\t (d).DSF\n")

if(q3=="a" or q3=="HELINA" or q3=="helina "):

p=p+10

color.write("CORRECT ANSWER \n HELINA ",c.green)

else:

color.write("WRONG ANSWER \n CORRECT ANSWER IS HELINA",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q4=input("\n (Q4).PM Naredra Modi inaugurated PETROTECH-2019 in------


?\n(a).Greater Noida \t\t\t (b).Banglore\n (c).Hydrabad\t\t\t (d).Delhi\n")
if(q4=="a" or q4=="Greater Noida" or q4=="greater noida "):

p=p+10

color.write("CORRECT ANSWER \n Greater Noida ",c.green)

else:

color.write("WRONG ANSWER \n CORRECT ANSWER IS Greater Noida",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q5=input("\n (Q5).The central goverment announced a new and seperate railway zone
named ----?\n(a).South coast railway \t\t\t (b).east coast railway\n (c).northern
railway\t\t\t (d).none of these\n")

if(q5=="a" or q5=="South Coast railway" or q5=="south coast railway "):

p=p+10

color.write("CORRECT ANSWER \n South Coast Railway ",c.green)

else:

color.write("WRONG ANSWER \n CORRECT ANSWER IS south coast railway",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q6=input("\n (Q6).PM Narendra modi flagged off India's first semi-high speed train
named----- ?\n(a).The Ranikhet Express \t\t\t (b).The Tamil Nadu Express\n (c).The
Vande bharat express\t\t\t (d).Delhi\n")

if(q6=="c" or q6=="the vande bharat express " or q6=="The Vande Bharat Express "):

p=p+10

color.write("CORRECT ANSWER \n The Vande Bharat Express On February 5th


2019\n Between Delhi And Varanasi",c.green)
else:

color.write("WRONG ANSWER \n CORRECT ANSWER IS \nThe Vande Bharat


Express On February 5th 2019\n Between Delhi And Varanasi",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q7=input("\n (Q7).what is the emergency helpline number , launched by the central


government ?\n(a).101 \t\t\t (b).113\n (c).165\t\t\t (d).112\n")

if(q7=="a" or q7=="112" or q7=="112"):

p=p+10

color.write("CORRECT ANSWER \n 112 To Ensure Quick Help To Anyone,Especially


Women ",c.green)

else:

color.write("WRONG ANSWER \n CORRECT ANSWER IS \n 112 ",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q8=input("\n (Q8).Who become the first woman cricketer of the world to play 200
ODIs?\n (a).Marry Suzen \t\t\t (b).Sunita Arora\n (c).Mithali Raj\t\t\t (d).none of these\n")

if(q8=="c" or q8=="Mitali Raj" or q8=="mitali raj"):

p=p+10

color.write("CORRECT ANSWER \n Mitali Raj from INDIA ",c.green)

else:

color.write("WRONG ANSWER \n CORRECT ANSWER IS \n Mitali Raj from


INDIA",c.red)

playsound("abe.mp3")
print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q9=input("\n (Q9).'DUNK SHOT' is a term associated with the game of----?\n


(a).Cricket \t\t\t (b).Basket ball \n(c).volley ball\t\t\t (d).football\n")

if(q9=="b" or q9=="Basket ball" or q9=="basket ball"):

p=p+10

color.write("CORRECT ANSWER \n Basketball ",c.green)

else:

color.write("WRONG ANSWER \n CORRECT ANSWER IS \n Basketball",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q10=input("\n (Q10).Who are the recipients of the Bharat Ratna in 2019?\n (a).Pranab
mukherji \t\t\t (b).Nanaji deshmukh \n (c).Bhpen Hazarika\t\t\t (d).All of these\n")

if(q10=="b" or q10=="All Of These" or q10=="all of these"):

p=p+10

color.write("CORRECT ANSWER \n All Of These ",c.green)

else:

color.write("WRONG ANSWER \n CORRECT ANSWER IS \n All Of These",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q11=input("\n (Q11).How many percent(%) female in India?\n (a).48.20% \t\t\t (b).47.20


\n (c).49.30%\t\t\t (d).50.20%\n")
if(q11=="a" or q11=="48.20" or q11=="48.20%"):

p=p+10

color.write("CORRECT ANSWER \n 48.20 ",c.green)

else:

color.write("WRONG ANSWER \n CORRECT ANSWER IS \n 48.20",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q12=input("\n\n(Q12).There are how many internet users in the world


2019?\n(a)4.67billiion \t\t\t (b).4.12billion \n (c).5.00billion\t\t\t(d).4.39billion \n")

if(q12=="d" or q12=="4.39" or q12 =="4.93 billion"):

p=p+10

color.write("CORRECT ANSWER \n 4.39 internet users",c.green)

else:

color.write("wrong answer \n correct answer is \n 4.39billion",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q13=input("\n\n(Q13).Can a Duck walk without bobbing its head?\n(a)yes \t\t\t (b).No


\n (c).\ partially yes not\t\t(d).duck don't walks \n")

if(q13=="b" or q13=="No" or q13 =="no"):

p=p+10

color.write("CORRECT ANSWER \n No Duck's can't walk without Bobbing its


head",c.green)

else:
color.write("wrong answer \n correct answer is \n No Duck's can't walk without
Bobbing its head",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q14=input("\n\n(Q14).A peice of paper can be folded how many times?\n(a)less than


7 times \t\t\t (b).less than 6 times \n (c).more than 6 times\t\t\t(d).more than 7 times
\n")

if(q14=="d" or q14=="more then 7 times" or q14 =="More thsn 7Times"):

p=p+10

color.write("CORRECT ANSWER \nMore than 7 times",c.green)

else:

color.write("wrong answer \n correct answer is \n More than 7 times",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q15=input("\n\n(Q15).Which is the longest tunnel in the world? ?\n(a)India Base


Tunnel \t\t\t (b).Gotthard Base Tunnel \n (c).Lahore Base Tunnel\t\t\t(d).Iceland Base
tunnel \n")

if(q15=="b" or q15=="Gotthard Base Tunnel" or q15 =="gotthard base tunnel"):

p=p+10

color.write("CORRECT ANSWER \n Gotthard Base Tunnel \n Length-57 km


long",c.green)

else:

color.write("wrong answer \n correct answer is \n Gotthard Base Tunnel \n length-


57km long",c.red)

playsound("abe.mp3")
print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q16=input("\n\n(Q16).When was ants sleep?\n(a)after work \t\t\t (b).after alying eggs


\n (c).before laying eggs\t\t\t (d).never sleep \n")

if(q16=="d" or q16=="Never Sleep" or q16 =="never sleep"):

p=p+10

color.write("CORRECT ANSWER \n Ants never sleep ",c.green)

else:

color.write("wrong answer \n correct answer is \nAnts never sleep",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q17=input("\n\n(Q17).Where was the first sugar made?\n(a)India \t\t\t (b).France \n


(c).USA\t\t\t(d).China \n")

if(q17=="a" or q17==" india" or q17

=="India"):

p=p+10

color.write("CORRECT ANSWER \n India ",c.green)

else:

color.write("wrong answer \n correct answer is \nIndia",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------
q18=input("\n\n(Q18).Which is the longest bridge in yhe world?\n(a).Golden gate
bridge \t\t\t (b).Danyang-Kunshan Grand Bridge \n (c).viaduc de millau\t\t\t(d).Akashi-
Kaikyo Bridge\n")

if(q18=="b" or q18=="Danyang-Kunshan Grand Bridge " or q18=="danyang-kunshan


grand bridge "):

p=p+10

color.write("CORRECT ANSWER \n Danyang-Kunshan Grand Bridge ",c.green)

else:

color.write("wrong answer \n correct answer is \nDanyang-Kunshan Grand Bridge


",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q19=input("\n\n(Q19).Which is the rarest blood group in the world ?\n(a)A- \t\t\t (b).O-
\n (c).RH-NULL\t\t\t(d).AB- \n")

if(q19=="c" or q19=="rh-null" or q19 =="RH-NULL"):

p=p+10

color.write("CORRECT ANSWER \n RH-Null ",c.green)

else:

color.write("wrong answer \n correct answer is \n. Rh-Null",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------
q20=input("\n\n(Q20).What is the weight of CONSTITUTION OF INDIA?
?\n(a)13.25kg\t\t\t (b).13.00kg \n (c).12.99kg\t\t\t (d).13.55kg \n")

if(q20=="b" or q20=="13.00kg" or q20 =="13.00kg"):

p=p+10

color.write("CORRECT ANSWER \n .13.00kg ",c.green)

else:

color.write("wrong answer \n correct answer is \n.13.00kg",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#------------------------------------------------------------------------------------------------------------------------
------------------------------------------------

elif(x=="3"or x=="hard"):

q1=input("\n (Q1).Who emmerged champion of the 83rd senior naional badmintan


Champions Singles Titles? \n (a).Pranab mukherji \t\t\t (b).Sania Nehwal \n (c).Sourabh
Verma\t\t\t (d).Both (b) and (c)\n")

if(q1=="d" or q1=="Both (b) and (c)" or q1=="both b and c"):

p=p+10

color.write("CORRECT ANSWER \n Both Sania Nehwal(women singles


championship) \n Sourabh Verma(Men's singles chamionship) ",c.green)

else:

color.write("WRONG ANSWER \n CORRECT ANSWER IS \n Both Sania


Nehwal(women singles championship) \n Sourabh Verma(Men's singles
chamionship)",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------
q2=input("\n (Q2).Who has been elected the new chairman of African Union ?
\n(a)Sameulson. \t\t\t (b).Reema bint Bandar bin Sultan \n (c).Abdel Fattah el-Sisi\t\t\t
(d).none of these\n")

if(q2=="c" or q2=="Abdel Fattah el-Sisi" or q2=="abdel fattah el-sisi"):

p=p+10

color.write("CORRECT ANSWER \n Egypt's President Abdel Fattah el-Sisi


",c.green)

else:

color.write("WRONG ANSWER \n CORRECT ANSWER IS \n Egypt's President


Abdel Fattah el-Sisi",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q3=input("\n (Q3).Hindi has been included as the third official language in-----? \n
(a).America \t\t\t (b).Pakistan \n (c).Abu Dhabi\t\t\t (d).None of these\n")

if(q3=="c" or q3=="Abu Dhabi" or q3=="abu dhabi"):

p=p+10

color.write("CORRECT ANSWER \n Abu Dhabi ",c.green)

else:

color.write("WRONG ANSWER \n CORRECT ANSWER IS \n Abu Dhabi",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q4=input("\n (Q4).Which country emerged on top of the 2019 international? \n


(a).Spain \t\t\t (b).U.S.A \n(c).India\t\t\t (d).None of these\n")

if(q4=="b" or q4=="U.S.A" or q4=="USA"):


p=p+10

color.write("CORRECT ANSWER \n United States of America ",c.green)

else:

color.write("WRONG ANSWER \n CORRECT ANSWER IS \n United States of


America",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q5=input("\n (Q5).Which film was adjudged the best film in the 91st OSKAR Awards
In2019? \n (a).NEWTAN \t\t\t (b.Blackhawk Dawn \n(c).Olyympus Has Fallen\t\t\t
(d).Green Book\n")

if(q5=="d" or q5=="Green Book" or q5=="green book"):

p=p+10

color.write("CORRECT ANSWER \n Green Book \n organised by DOLBY Theatre in


Los Angeles in February 24,2019 ",c.green)

else:

color.write("WRONG ANSWER \n CORRECT ANSWER IS \n Green Book \n


organised by DOLBY Theatre in Los Angeles in February 24,2019 ",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q6=input("\n (Q6).Who has been honoured with the Laureus Sportsman of the year
honour,2019 ? \n (a).Sania Nehwal \t\t\t (b.Geeta Phogat \n (c).Novak Djokovic\t\t\t
(d).Will Smith\n")

if(q6=="c" or q6=="novak djokovic" or q6=="Novak Djokovic"):

p=p+10

color.write("CORRECT ANSWER \n Tennis legend Novak Djokovic",c.green)


else:

color.write("WRONG ANSWER \n CORRECT ANSWER IS \n Tennis legend Novak


Djokovic",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q7=input("\n (Q7).India's external affairs Minister Shushma Swaraj was honoured


with the 'Grand Cross of the Order of Cevil Merit' award by---? \n (a)USA. \t\t\t
(b).United Kingdom \n(c).Spain (d).None of these\n")

if(q7=="c" or q7=="Spain" or q7=="spain"):

p=p+10

color.write("CORRECT ANSWER \n In Spain \n external affairs Minister Shushma


Swaraj was honoured with the 'Grand Cross of the Order of Cevil Merit' in February
2019",c.green)

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

else:

color.write("WRONG ANSWER \n CORRECT ANSWER IS \n In Spain \n External


affairs Minister Shushma Swaraj was honoured with the 'Grand Cross of the Order of
Cevil Merit' in February 2019",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q8=input("\n (Q8).Which anime movie is awarded as best movie in 2019 ? \n


(a).Wotakoi: Love is Hard for Otaku \t\t\t (b).Deal with the Devil \n(c).Aggretsuko\t\t\t
(d). KISS OF DEATH \n")

if(q8=="d" or q8=="KISS OF DEATH " or q8=="kiss of death "):

color.write("CORRECT ANSWER \n KISS OF DEATH ",c.green)


p=p+10

else:

color.write("WRONG ANSWER \n CORRECT ANSWER IS \n KISS OF DEATH ",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q9=input("\n (Q9).Luminous bodies moving round the sun with a tail of luminous
mattter ? \n (a).Asteroids \t\t\t (b.Comets\n (c).Meteriods\t\t\t (d).Nebula\n")

if(q9=="b" or q9=="Comets" or q9=="comets"):

color.write("CORRECT ANSWER \n Comets",c.green)

p=p+10

else:

color.write("WRONG ANSWER \n CORRECT ANSWER IS \n Comets",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q10=input("\n (Q10).Living matter present in the cells of animals and vegetable life ?
\n (a).Protoplasm \t\t\t (b.Lysosomes \n(c).Cellwall\t\t\t (d).None of these\n")

if(q9=="a" or q9=="Protoplasm " or q9=="protoplasm "):

color.write("CORRECT ANSWER \n Protoplasm ",c.green)

p=p+10

else:

color.write("WRONG ANSWER \n CORRECT ANSWER IS \n Protoplasm ",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")
playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q11=input("\n (Q11).When the fdirst bicycle was invented?\n (a).1817 \t\t\t (b).1813 \n
(c).1819\t\t\t (d).2000%\n")

if(q11=="a" or q11=="1817" or q11=="1817%"):

p=p+10

color.write("CORRECT ANSWER \n In 1817 ",c.green)

else:

color.write("WRONG ANSWER \n CORRECT ANSWER IS \n In 1817",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q12=input("\n\n(Q12).Who invented the keyboard ?\n(a)Christopher Colymbus \t\t\t


(b).Christopher suzen \n (c).Christopher Latham Suzen\t\t\t(d).Christopher Latham
Sholes \n")

if(q12=="d" or q12=="Christopher Latham Sholes" or q12 =="christopher latham


sholes"):

p=p+10

color.write("CORRECT ANSWER \n In 1868 \nChristopher Latham Sholes",c.green)

else:

color.write("wrong answer \n correct answer is \n In 1868 \nChristopher Latham


Sholes",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#------------------------------------------------------------------------------------------------------------------------
------------------------------------------------
q13=input("\n\n(Q13).Which country in the world where only 27 people
live?\n(a)Iceland \t\t\t (b).Sealand \n (c).Vatican city\t\t(d).Ducktown \n")

if(q13=="b" or q13=="sealand" or q13 =="Sealand"):

p=p+10

color.write("CORRECT ANSWER \n Sealand",c.green)

else:

color.write("wrong answer \n correct answer is \nSealand",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q14=input("\n\n(Q14).which country has highest female ratio?\n(a)Sea land\t\t\t


(b).iceland \n (c).india\t\t\t(d).Curacao \n")

if(q14=="d" or q14=="Curacao" or q14 =="curacao"):

p=p+10

color.write("CORRECT ANSWER \n Curacao",c.green)

else:

color.write("wrong answer \n correct answer is \n Curacao",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q15=input("\n\n(Q15).Which is the fastest flying bird in the world? \n(a)Swift \t\t\t


(b).Peregrine Falcon \n (c).Pigin\t\t\t(d).parrot\n")

if(q15=="b" or q15=="Peregrine Falcon" or q15 =="peregrine falcon"):

p=p+10

color.write("CORRECT ANSWER \n Peregrine Falcon \n speed-389km/h",c.green)


else:

color.write("wrong answer \n correct answer is \n Peregrine Falcon \n speed-


389km/h",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q16=input("\n\n(Q16).which company made first touch screen mobile?\n(a)Microsoft


\t\t\t (b).micromax \n (c).Apple\t\t\t (d).IBM \n")

if(q16=="d" or q16=="IBM" or q16 =="IBM"):

p=p+10

color.write("CORRECT ANSWER \n IBM \n In-1992 ",c.green)

else:

color.write("wrong answer \n correct answer is \n IBM \n In-1992 ",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q17=input("\n\n(Q17).Where was the first sugar made?\n(a)India \t\t\t (b).France \n


(c).USA\t\t\t(d).China \n")

if(q16=="a" or q16==" india" or q16 =="India"):

p=p+10

color.write("CORRECT ANSWER \n India ",c.green)

else:

color.write("wrong answer \n correct answer is \nIndia",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")
playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q18=input("\n\n(Q18).Which is the India's first artificial satellite?\n(a).Arjun \t\t\t


(b).Aryabhata \n (c).Dronacharya\t\t\t(d).None of these\n")

if(q18=="b" or q18=="aryabhata " or q18=="Aryabhata "):

p=p+10

color.write("CORRECT ANSWER \n Aryabhata \n In April19,1975 ",c.green)

else:

color.write("wrong answer \n correct answer is \n Aryabhata \n In April19,1975


",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

q19=input("\n\n(Q19).Which is the most expensive pen in the world ?\n(a)Sheaffer


centennial\t\t\t (b).Montblanc Meiterstuck \n(c).Fulgor Nocturnus\t\t\t(d).The Caran
d'Ache \n")

if(q19=="c" or q19=="Fulgor Nocturnus" or q19 =="fulgor nocturnus"):

p=p+10

color.write("CORRECT ANSWER \n Fulgor Nocturnus \n price-$8million ",c.green)

else:

color.write("wrong answer \n correct answer is \n. Fulgor Nocturnus \n price-


$8million",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------
q20=input("\n\n(Q20).Who inventedTea? ?\n(a)Nung shi\t\t\t (b).Shen Nung \n
(c).Shen fu\t\t\t (d).None of these \n")

if(q20=="b" or q20=="Shen Nung" or q20=="shen nung"):

p=p+10

color.write("CORRECT ANSWER \n .Shen Nung ",c.green)

else:

color.write("wrong answer \n correct answer is \n.Shen Nung",c.red)

playsound("abe.mp3")

print("\n------------------------------------------------------------------------------------")

playsound("drums.mp3")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------

else:

print("ERROR")

print("------------------------------------------x------------------------------------------")

print( a," your score is" ,p , "/200")

print("THANK YOU FOR PLAYING THIS GAME ")

#-------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------
*****************************************OUTPUT For LEVEL EASY********************************

---------------------------------------------------------------------------------------------------------------------------
************************************OUTPUT For LEVEL MODERATE*****************************

---------------------------------------------------------------------------------------------------------------------------
************************************OUTPUT For LEVEL HARD*****************************
---------------------------------------------------------------------------------------------------------------------------

You might also like