keyboard_arrow_left keyboard_arrow_right
Preetam's Project

## World Cricket Quiz

My name is Preetam. I am from Karnataka, India currently living in Qatar and I am studying in Birla Public School in Grade VI.

#### Preetam's project details:

The Project is a quiz on Knowledge of Cricket World.

```score = 0

print("World Cricket Quiz Programme")
print("Welcome to World Cricket Quiz")

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

print("There are 5 questions. Each question has 4 options. Select the right answer. ")
print("Each correct answer you get 10 marks ")
print("..........")
print("Let's start")

#Repeat Start

print("Q1 : How many times India won the Cricket World Cup ? ")
print("a : Two ")
print("b : Five")
print("c : Three ")
print("d : Zero ")

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

q1val = input("Enter answer as a or b or c or d ")

if(q1val=='a'):
print("Yeah you are right. Amazing")
score = score + 10
else:
print("oh. Sorry it is wrong answer")
print ("Better luck next time")

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

#Repeat End

#Repeat Start

print("Q2 : Who scored highest runs in test innings ? ")
print("a : Sachin Tendulkar ")
print("b : Matthew Hayden ")
print("c : Brian Lara ")
print("d : Vivian Richard ")

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

q2val = input("Enter answer as a or b or c or d ")

if(q2val=='c'):
print("Yeah you are right. Amazing")
score = score + 10
else:
print("oh. Sorry it is wrong answer")
print ("Better luck next time")

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

#Repeat End

#Repeat Start

print("Q3 : Who scored highest number of centuries international Cricket? ")
print("a : Ricky ponting ")
print("b : MS Dhoni ")
print("c : Sachin Tendulkar ")
print("d : Kumar Sangakara ")

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

q3val = input("Enter answer as a or b or c or d ")

if(q3val=='c'):
print("Yeah you are right. Amazing")
score = score + 10
else:
print("oh. Sorry it is wrong answer")
print("Correct answer is Sachin Tendulkar ")
print ("Better luck next time")

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

#Repeat End

#Repeat Start

print("Q4 : Which country won highest number of World cup ? ")
print("a : India ")
print("b : West Indies ")
print("c : England ")
print("d : Australia ")

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

q4val = input("Enter answer as a or b or c or d")

if(q4val=='d'):
print("Yeah you are right. Amazing")
score = score + 10
else:
print("oh. Sorry it is wrong answer")
print ("Better luck next time")

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

#Repeat End

#Repeat Start

print("Q5 : True or false: India won world cup in 1983. ")
print("a : True ")
print("b : False ")

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

q5val = input("Enter answer as a or b")

if(q5val=='a'):
print("Yeah you are right. Amazing")
score = score + 10
else:
print("oh. Sorry it is wrong answer")
print ("Better luck next time")

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