7.KBC Quiz Game


 questions=[

    ["1.The International Literacy Day is observed on:",
"A.Sep 8", "B.Nov 28",
"C.May 2", "D.Sep 22", "A"],
["2.The language of Lakshadweep, a Union Territory of India, is:",
"A.Tamil", "B.Hindi",
"C.Malayalam", "D.Telugu", "C"],
["3.In which group of places the Kumbha Mela is held every twelve years?",
"A.Ujjain. Purl; Prayag. Haridwa", "B.Prayag. Haridwar, Ujjain,. Nasik",
"C.Rameshwaram. Purl, Badrinath. Dwarika", "D.Chittakoot, Ujjain, Prayag,'Haridwar", "B"],
["4.Bahubali festival is related to:",
"A.Islam", "B.Hinduism",
"C.Buddhism", "D.Jainism", "D"],
["5.Which day is observed as the World Standards Day?",
"A.June 26", "B.Oct 14",
"C.Nov 15", "D.Dec 2", "B"],
["6.Which of the following was the theme of the World Red Cross and Red Crescent Day?",
"A.'Dignity for all - focus on women'", "B.'Dignity for all - focus on Children'",
"C.'Focus on health for all'", "D.'Nourishment for all-focus on children'", "B"],
["7.September 27 is celebrated every year as:",
"A.Teachers' Day", "B.National Integration Day",
"C.World Tourism Day", "D.International Literacy Day", "C"],
["8.Who is the author of 'Manas Ka-Hans' ?",
"A.Khushwant Singh", "B.Prem Chand",
"C.Jayashankar Prasad", "D.Amrit Lal Nagar", "D"],
["9.The death anniversary of which of the following leaders is observed as Martyrs' Day?",
"A. Smt.Indira Gandhi", "B. PI.Jawaharlal Nehru",
"C. Mahatma Oandhi", "D. Lal Bahadur Shastri", "C"],
["10.Who is the author of the epic 'Meghdoot'?",
"A.Vishakadatta", "B.Valmiki",
"C.Banabhatta", "D.Kalidas", "D"],
["11.'Good Friday' is observed to commemorate the event of:",
"A.birth of Jesus Christ", "B.birth of' St. Peter",
"C.crucification of Jesus Christ", "D.rebirth of Jesus Christ", "C"],
["12.Who is the author of the book 'Amrit Ki Ore'?",
"A.Mukesh Kumar", "B.Narendra Mohan",
"C.Upendra Nath", "D.Nirad C. Choudhary", "B"],
["13.Which of the following is observed as Sports Day every year?",
"A.22nd April", "B.26th july",
"C.29th August", "D.2nd October", "C"],
["14.World Health Day is observed on",
"A.Apr 7", "B.Mar 6",
"C.Mar I5", "D.Apr 28", "A"],
["15.Pongal is a popular festival of which state?",
"A.Karnataka", "B.Kerala",
"C.Tamil Nadu", "D.Andhra Pradesh", "C"],
["16.Van Mahotsav was started by:",
"A.Maharshi Karve", "B.Bal Gangadhar Tiiak",
"C.K.M, Munshi", "D.Sanjay Gandhi", "C"],
["17.Which of the following is not a dance from Kerala?",
"A.Kathakali", "B.Mohiniattam",
"C.Ottan Thullal", "D.Yaksha Gana", "D"],

]

prize = ["1,000/-", "2,000/-", "3,000/-", "5,000/-", "10,000/-",
"20,000/-", "40,000/-", "80,000/-","1,60,000/-", "3,20,000/-",
"6,40,000/-", "12,50,000/-", "25,00,000/-", "50,00,000/-", "75,00,000/-",
"1,00,00,000/-", "7,50,0,000/-"]
money = 0

# "i" is the index variable for the list(questions) and "question" is the variable to store all elements in list(questions)
for i, question in enumerate(questions):
# question=questions[i]
print(f"Your question for {prize[i]}")
print(f"{question[0]}")
print(question[1], "\t", question[2])
print(question[3], "\t", question[4])
reply = str(input("Enter your answer:"))
if reply==question[-1]:
print(f"Congratulations! you have won {prize[i]}")
if i == 4:
money=prize[4]
elif i == 9:
money = prize[8]
elif i == 14:
money = prize[14]
elif i == 16:
money = prize[16]

# else:
# money=0
else:
print("Sorry! Wrong answer")
break
print(f"Your take home money is:{money} ")


             OUTPUT:












Comments

Popular posts from this blog

3.FaulyCalculator.py

11.Snake Water Gun Game.py

15.PyStopWatch.py