I am ELIZABETH JIM studing in class 10, INDIAN SCHOOL AL-AIN. I am very keen on current affairs, world capitals and I keep tabs on the things that take place around me.
I like playing chess, and am an enthusiastic reader and in my free time I love doing puzzles. I have decided to learn coding since it would be beneficial in real life.
Elizabeth's project details:
Write Project Details here.
score = 0
print(" WORLD ENTERTAINMENT PRESENTS")
print("A QUIZ ABOUT WORLD CAPITALS")
print("-------------------")
print("There are a total of 7 questions.")
print("Each correct answer you get 10 marks ")
print("..........")
#first question
a= input("What is the capital of Australia? ")
print("-------------------")
if a== "Canberra" or a== "CANBERRA" or a=="canberra":
print("Yeah you are right. Amazing")
score = score + 10
else:
print("oh. Sorry it is wrong answer")
print("Correct answer is CANBERRA")
print ("Better luck next time")
print("-------------------")
print("Your score is ", score)
print("----------------------------")
#second question
b= input("What is the capital of Switzerland? ")
if b== "BERN" or b=="Bern" or b=="bern":
print("Yeah you are right. Amazing")
score = score + 10
else:
print("oh. Sorry it is wrong answer")
print("Correct answer is Bern")
print ("Better luck next time")
print("---------------------")
print("Your score is", score)
print("----------------------")
# third question
c= input("What is the capital of France? ")
if c=="Paris" or c=="paris" or c=="PARIS":
print("Correct answer")
score= score+10
else:
print("Wrong answer.")
print("The correct answer is PARIS")
print("BETTER LUCK NEXT TIME")
print("-------------")
print("Your score is", score)
print("-----------------------")
#fourth question
d= input("What is the capital of Germany? ")
if d=="Berlin" or d=="berlin" or d=="BERLIN":
print("Correct answer")
score= score+10
else:
print("Wrong answer.")
print("The correct answer is BERLIN")
print("BETTER LUCK NEXT TIME")
print("-------------")
print("Your score is", score)
print("-----------------------")
#fifth question
e= input("What is the capital of Russia? ")
if e== "Moscow" or e=="MOSCOW" or e=="moscow":
print("Correct answer")
score= score+10
else:
print("Wrong answer.")
print("The correct answer is MOSCOW")
print("BETTER LUCK NEXT TIME")
print("-------------")
print("Your score is", score)
print("-----------------------")
#sixth question
f= input("What is the capital of India? ")
if f=="New Delhi" or f=="NEW DELHI" or f=="new delhi":
print("Correct answer")
score= score+10
else:
print("Wrong answer.")
print("The correct answer is NEW DELHI")
print("BETTER LUCK NEXT TIME")
print("-------------")
print("Your score is", score)
print("-----------------------")
# seventh question
g= input("What is the capital of Italy? ")
if g== "Rome" or g=="rome" or g=="ROME":
print("Correct answer")
score= score+10
else:
print("Wrong answer.")
print("The correct answer is ROME")
print("BETTER LUCK NEXT TIME")
print("-------------")
print("Your score is", score)
print("-----------------------")
h= input("Would you like to know more interesting facts about world nations? (YES / NO)")
if h== "Yes " or h=="yes" or h=="YES":
print("""1. Canada has the most lakes in the world
2. Bolivia is the world’s flattest country
3. Russia, the world’s largest country
4. The world’s oldest country is in Europe
5. France’s longest land border is in Brazil""")
else:
print("...........................")
print("Thank you for participating.")