The Impossible Quiz
About Rohan
Rohan Atul Singhvi , Grade 7 student from Bahrain has created a short 5 questions quiz. After answering all the questions, you will be rated between Outstanding to Needs Improvement.
Rohan's project details:
Welcome to Rohan’s really tough quiz !
Rohan has intelligently used many concepts of Python programming to create this quiz. Read the rules of the quiz and also have a look at his code.
Every correct answer will give get 100 points but every wrong answer will deduct 10 points
Let’s start the quiz !
print('Welcome to the impossible quiz made by Rohan \n This quiz is actually pretty hard. No kidding!!')
score = 0
print('Your score = 0')
print('\n****************This is you first question****************')
print('Who is the first president of America \na.George Washington \nb.Abraham Lincoln \nc.Kakashi \nd.Benjamin Franklin')
print('Enter your alphabet as you can see beside the names and if you follow this rule you will get 15 years of luck:')
x = input("Enter your option by typing a,b,c,d: ")
print("")
if x == 'a' or x == 'A':
print('Very good.You got it right')
score = score + 45.0
print('Your score =',score)
else:
print('Wrong choice.Better luck next time')
score = score - 10
print('Your score =',score )
print('\n****************This is you second question****************')
print('What is the name of Harry Potters owl? \na.Sasuke \nb.Errol \nc.Hedgewig \nd.Hermes')
print('Enter your alphabet as you can see beside the names and if you follow this rule you will get 15 years of luck:')
x = input("Enter your option by typing a,b,c,d: ")
print("")
if x == 'c' or x == 'C':
print('Very good.You got it right')
score = score + 45.0
print('Your score =',score )
else:
print('Wrong choice.Better luck next time')
score = score - 10
print('Your score =',score )
print('\nT****************his is you third question****************')
print('Who is Percy Jacksons dad? \na.Sakura \nb.Poseidon \nc.Zeus \nd.Hades')
print('Enter your alphabet as you can see beside the names and if you follow this rule you will get 15 years of luck:')
x = input("Enter your option by typing a,b,c,d: ")
print("")
if x == 'b' or x == 'B':
print('Very good.You got it right')
score = score + 45.0
print('Your score =',score )
else:
print('Wrong choice.Better luck next time')
score = score - 10
print('Your score =',score )
print('\n****************This is you fourth question****************')
print('Who wrote thhe song Hotline Bling? \na.Shikamaru \nb.Eminem \nc.Justin Bieber \nd.Drake')
print("")
print('Enter your alphabet as you can see beside the names and if you follow this rule you will get 15 years of luck:')
x = input("Enter your option by typing a,b,c,d: ")
print("")
if x == 'd' or x == 'D':
print('Very good.You got it right')
score = score + 45.0
print('Your score =',score )
else:
print('Wrong choice.Better luck next time')
score = score - 10
print('Your score =',score )
print('***************\nThis is you fifth question****************')
print('This quiz is related to which anime? \na.Bleach \nb.Attack on titan \nc.One piece \nd.Naruto')
print('Enter your alphabet as you can see beside the names and if you follow this rule you will get 15 years of luck:')
x = input("Enter your option by typing a,b,c,d: ")
print("")
if x == 'd' or x == 'D':
print('Very good.You got it right')# %%
score = score + 45.0
print('Your score =',score )
else:
print('Wrong choice.Better luck next time')
score = score - 10.0
print('Your total score =',score )
if score == 225.0:
print('Congratulations.\nYou completed this quiz with all questions right')