keyboard_arrow_left keyboard_arrow_right
Varun's Project

Animals Quiz

About Varun

My name is Varun Vikas Raj, a 6th grader studying in New Millennium School, Bahrain.

Varun's project details:

My project was a quiz created using Python programming language. This is a quiz based on “Animals”. There are a total of 8 questions.

score = 0
print("Welcome to Varun's Quiz\n")
print("This is a Quiz about ANIMALS \n")
print("Q1.What’s the first thing a caterpillar usually eats after it’s born?\n")
print("Answer options: \na.Other bugs \nb.Grass \nc.It's own eggshell \nd.Cheerios")
ans1 = input("\nSelect the correct answer by typing a, b, c or d")
if ans1 == 'c' or ans1 =='C':
    print("Congratulations ! Its the correct answer")
    score = score + 10
    print("SCORE :", score)
    print(".......................")
else:
    print("\nIncorrect answer.Please try again")
    print(".......................")
    
print("Q2.The trumpeter swan—North America’s largest waterfowl—weighs about how many pounds?")
print("Answer options: \na.10 \nb.30 \nc.50 \nd.70")
ans2= input("\nSelect the correct answer by typing a, b, c or d")
if ans2 =='b' or ans2 =='B':
    print("Congratulations ! Its the correct answer")
    score = score + 10
    print(".......................")
    print("SCORE :", score)
else:
    print("\nIncorrect answer.Please try again")
    print(".......................")
    
print("Q3.Which of the following animals is not nocturnal?")
print("Answer options: \na.Sheep \nb.Skunk \nc.Leopard \nd.Tiger")
ans3= input("\nSelect the correct answer by typing a, b, c or d")
if ans3 == 'a' or ans3 =='A':
    print("Congratulations ! Its the correct answer")
    score = score + 10
    print("SCORE :", score)
    print(".......................")
else:
    print("\nIncorrect answer.Please try again")
    print(".......................")
    
print("Q4.Walruses can eat about how many clams in one day?")
print("Answer options: \na.5000 \nb.12000 \nc.10000 \nd.16000")
ans4= input("\nSelect the correct answer by typing a, b, c or d")
if ans4 == 'a' or ans3 =='A':
    print("Congratulations ! Its the correct answer")
    score = score + 10
    print("SCORE :", score)
    print(".......................")
else:
    print("\nIncorrect answer.Please try again")
    print(".......................")
        
print("Q5.What is a baby rabbit called?")
print("Answer options: \na.Doe \nb.Kit \nc.Buck \nd.Hare")
ans5= input("\nSelect the correct answer by typing a, b, c or d")
if ans5 == 'b' or ans5 =='B':
    print("Congratulations ! Its the correct answer")
    score = score + 10
    print("SCORE :", score)
    print(".......................")
else:
    print("\nIncorrect answer.Please try again")
    print(".......................")

print("Q6.How many koalas stacked on top of one another does it take to reach the height of a male giraffe—the world’s tallest land animal?")
print("Answer options: \na.2 \nb.4 \nc.7 \nd.50")
ans6= input("\nSelect the correct answer by typing a, b, c or d")
if ans6 == 'c' or ans6 =='C':
    print("Congratulations ! Its the correct answer")
    score = score + 10
    print("SCORE :", score)
    print(".......................")
else:
    print("\nIncorrect answer.Please try again")
    print(".......................")
    
print("Q7.An ant says, “Danger ahead!” by doing what?")
print("Answer options: \na.Squealing \nb.Running towards water \nc.Rolling on its back \nd.Oozing chemicals")
ans7= input("\nSelect the correct answer by typing a, b, c or d")
if ans7 == 'd' or ans7 =='D':
    print("Congratulations ! Its the correct answer")
    score = score + 10
    print("SCORE :", score)
    print(".......................")
else:
    print("\nIncorrect answer.Please try again")
    print(".......................")
    
print("Q8.Which of the following is not a type of penguin?")
print("Answer options: \na.Waterland \nb.Emperor \nc.Chinstrap \nd.Macaroni")
ans8= input("\nSelect the correct answer by typing a, b, c or d")
if ans8 == 'a' or ans8 =='A':
    print("Congratulations ! Its the correct answer")
    score = score + 10
    print("SCORE :", score)
    print(".......................")
else:
    print("\nIncorrect answer.Please try again")
    print(".......................")
        
print("Your final score is",score)

print(" ")

print("Thank you for taking part in Varun's Quiz")
                                         
Name: Varun Vikas Raj
Grade: 6
Be the Next Creator like :