keyboard_arrow_left keyboard_arrow_right
Rayhan's Project

Inventions Quiz

About Rayhan

I am Muhammed Rayhan of class 8 and I study in Gems UIS,Abu Dhabi.

Rayhan's project details:

This quiz (project) is made on the topic of top Inventions around the world.


print("\n\n               Inventions")
print("          *********************")
print("")
print("Each correct answer scores 5 marks and -5 for incorrect answer ")

score=0

#Question1
print("\nQ1.Who invented Telephone")
print("")
print("a.Alexander Graham Bell")
print("b.Karl Benz")
print("c.Thomas Edison")
print("")
ans1=input("Enter the correct option(a or b or c)")
if ans1=='a':
    print("\n Congrats,You got the correct answer")
    score=score+5
    print("\nYour current score is",score)
else:
    print("\nSorry,Your answer is incorrect,better luck next time")
    score=score-5
    print("\nYour current score is",score)
print("")
print("----------------------------------------")
print("")

#Question2
print("Q2.Who invented Car")
print("")
print("a.Benjamin Franklin")
print("b.Karl Benz")
print("c.Thomas Edison")
print("")
ans2=input("Enter the correct option(a or b or c)")
if ans2=='b':
    print("\nCongrats,You got the correct answer")
    score=score+5
    print("\nYour current score is",score)
else:
    print("\nSorry,Your answer is incorrect,better luck next time")
    score=score-5
    print("\nYour current score is",score)
print('')
print("----------------------------------------")
print("")

#Question3
print("Q3.Who invented Refrigerator")
print("")
print("a.Benjamin Franklin")
print("b.William Cullen")
print("c.Glexander Graham Bell")
print("")
ans3=input("Enter the correct option(a or b or c)")
if ans3=='b':
    print("\nCongrats,You got the correct answer")
    score=score+5
    print("\nYour current score is",score)
else:
    print("\nSorry,Your answer is incorrect,better luck next time")
    score=score-5
    print("\nYour current score is",score)
print("")
print("----------------------------------------")
print('')

#Question4
print("Q4.Who invented Elevator")
print("")
print("a.Benjamin Franklin")
print("b.Elisha Graves Otis")
print("c.Glexander Graham Bell")
print("")
ans4=input("Enter the correct option(a or b or c)")
if ans4=='b':
    print("\nCongrats,You got the correct answer")
    score=score+5
    print("\nYour current score is",score)
else:
    print("\nSorry,Your answer is incorrect,better luck next time")
    score=score-5
    print("\nYour current score is",score)
print("")
print("----------------------------------------")
print("")

#Question5
print("Q5.Who invented Electricity")
print("")
print("a.William Cullen")
print("b.Karl Benz")
print("c.Benjamin Franklin")
print("")
ans5=input("Enter the correct option(a or b or c)")
if ans5=='c':
    print("\nCongrats,You got the correct answer")
    score=score+5
    print("\nYour current score is",score)
else:
    print("\nSorry,Your answer is incorrect,better luck next time")
    score=score-5
    print("\nYour current score is",score)
print("")
print("----------------------------------------")
print("")

#Question6
print("Q6.Who invented Computer")
print("")
print("a.William Cullen")
print("b.Karl Benz")
print("c.Charles Babbage")
print("")
ans6=input("Enter the correct option(a or b or c)")
if ans6=='c':
    print("\nCongrats,You got the correct answer")
    score=score+5
    print("\nYour current score is",score)
else:
    print("\nSorry,Your answer is incorrect,better luck next time")
    score=score-5
    print("\nYour current score is",score)
print("")
print("----------------------------------------")
print("")

#Question7
print("Q7.Who invented Telescope")
print("")
print("a.William Cullen")
print("b.Hans Lipperhey")
print("c.Charles Babbage")
print("")
ans7=input("Enter the correct option(a or b or c)")
if ans7=='b':
    print("\nCongrats,You got the correct answer")
    score=score+5
    print("\nYour current score is",score)
else:
    print("\nSorry,Your answer is incorrect,better luck next time")
    score=score-5
    print("\nYour current score is",score)
print("")
print("----------------------------------------")
print("")

#Question8
print("Q8.Who invented Radio")
print("")
print("a.Guglielmo Marconi")
print("b.Hans Lipperhey")
print("c.Charles Babbage")
print("")
ans8=input("Enter the correct option(a or b or c)")
if ans8=='a':
    print("\nCongrats,You got the correct answer")
    score=score+5
    print("\nYour current score is",score)
else:
    print("\nSorry,Your answer is incorrect,better luck next time")
    score=score-5
    print("\nYour current score is",score)
print("")
print("----------------------------------------")
print("")

#Question9
print("Q9.Who invented Microscope")
print("")
print("a.Guglielmo Marconi")
print("b.Hans Lipperhey")
print("c.Zacharias Janssen")
print("")
ans9=input("Enter the correct option(a or b or c)")
if ans9=='c':
    print("\nCongrats,You got the correct answer")
    score=score+5
    print("\nYour current score is",score)
else:
    print("\nSorry,Your answer is incorrect,better luck next time")
    score=score-5
    print("\nYour current score is",score)
print("")
print("----------------------------------------")
print("")

#Question10
print("Q10.Who invented Steam Engine")
print("")
print("a.Guglielmo Marconi")
print("b.Thomas Savery")
print("c.Zacharias Janssen")
print("")
ans10=input("Enter the correct option(a or b or c)")
if ans10=='b':
    print("\nCongrats,You got the correct answer")
    score=score+5
    print("\nYour current score is",score)
else:
    print("\nSorry,Your answer is incorrect,better luck next time")
    score=score-5
    print("\nYour current score is",score)
print("")
print("")
marks=50
if marks==score:
    print("Congratulations,You got full correct")

print("\n     ******Thank you for playing******")
print("       ______________________________")

                                         

Achivements


Name: Muhammed Rayhan
Grade: 8
Be the Next Creator like :