score = 0 '''prepared by Thanusree this quiz is prepared by using python in python i have used concepts variables,operators,if-else condition, input functions in this quiz you have to choose options a,b or c''' print("The world quiz!") print("Lets play the world quiz game") print("------------") print("There are 5 questions.For each question there are 3 options") print("If u choose the right answer u get 5 points") print("------------") print("Q1. WHAT IS THE NATIONAL ANIMAL OF CHINA?") print("a.Golden-haired monkey") print("b.Great panda") print("c.Asian elephant") print("-----------") answer1 = str(input("Enter you answer")) if answer1=="b" or answer1=="B" : print("Great!") score = score + 5 print("Your score is",score) else: print("Sorry,the right answer is b.Great panda") print("-------------") print("Q2.WHO PAINTED MONA LISA?") print("a.Vincent van gogh") print("b.Pablo picasso") print("c.Leonardo da vinci") print("--------------") answer2 = str(input("Enter your answer")) if answer2=="c" or answer2=="C": print("Great!") score = score + 5 print("Your score is",score) else: print("Sorry,the right answer is c.Leonardo da vinci") print("--------------") print("Q3.WHAT IS THE NATIONAL SPORT OF JAPAN?") print("a.Karate") print("b.Sumo wrestling") print("c.Baseball") print("---------------") answer3=str(input("Enter your answer")) if answer3=="b" or answer3=="B": print("Great!") score = score + 5 print("Your score is",score) else: print("Sorry.the right answer is b.Sumo wrestling") print("----------------") print("Q4.WHO WROTE OLIVER TWIST?") print("a.Charles dickens") print("b.Jane austen") print("c.Mark twain") print("---------------") answer4=str(input("Enter your answer")) if answer4=="a" or answer4=="A": print("Great!") score = score + 5 print("Your score is",score) else: print("Sorry.the right answer is a.Charles dickens.") print("----------------") print("Q5.WHO WAS THE FIRST PRESDENT OF USA?") print("a.Abrahm lincoln") print("b.Andrew jackson") print("c.George washington") print("------------------") answer5=str(input("enter your answer")) if answer5=="c" or answer5=="C": print("Great!") score = score+5 print("Your score is",score) else: print("Sorry.the right answer is c. George washington") print("------------------") print("Q6.WHO WROTE HARRY POTTER?") print("a.George washington") print("b.Christopher nolan") print("c.J.K Rowling") answer6=str(input("enter your answer")) if answer6=="c" or answer6=="C": print("Great!:") score = score + 5 print("Your score is",score) else: ("sorry. the correct answer is c. j.K Rowling.") print("Your final score is ",score) print("-----------------------------")