keyboard_arrow_left keyboard_arrow_right
Hitarth's Project

Quiz - Percy Jackson

About Hitarth

My name is Hitarth Dangra and I love reading books and playing games. I also like doing math. I play many sports like Tennis, Squash, Soccer and Basketball.

Hitarth's project details:

I have created the quiz using python programming. In this quiz there are 10 questions. Each correct answer gives you 100 points but if you get anything wrong you lose 25 points.

class bcolors:  
    BOLD = '\033[1m'
score=0
print('Welcome to this fun quiz on Percy Jackson, brought to you by Hitarth Dangra')
print('Correct answer = 100 points; Wrong answer = -50 points')
print('Type in the option number else you will get it wrong')
#Q1

print(bcolors.BOLD,'*Question 1*')
print('What is the name of Nicos sister?')
result=input('''1.Thalia
2.Bianca
3.Annabeth
4.Clarisse''') 
if result=='2':
    print('Well done you got the correct answer')
    score=score+100
    print("""Your score is""",score)
else:
    print('Wrong answer, the correct answer is 2.Bianca')
    score=score-50
    print("""Your score is""",score)

#Q2
print(bcolors.BOLD,'*Question 2*')
print('Who is Lukes father?')
result=input('''1.Zeus
2.Poseidon
3.Hermes
4.Hades''')
if result=='3':
    print('Well done you got the correct answer')
    score=score+100
    print("""Your score is""",score)
else:
    print('Wrong answer, the correct answer is 3.Hermes')
    score=score-50
    print("""Your score is""",score)
    
#Q3
print(bcolors.BOLD,'*Question 3*')
print('Who is the hero mentioned in the propechy?')
result=input('''1.Annabeth
2.Kronos
3.Luke
4.Percy''')
if result=='3':
    print('Well done you got the correct answer')
    score=score+100
    print("""Your score is""",score)
else:
    print('Wrong answer, the correct answer is 3.Luke')
    score=score-50
    print("""Your score is""",score)
    
#Q4
print(bcolors.BOLD,'*Question 4*')
print('What is the name of Lukes sword?')
result=input('''1.Riptide
2.Scythe
3.Darkness
4.Backbiter''')
if result=='4':
    print("n\'Well done you got the correct answer'")
    score=score+100
    print("""Your score is""",score)
else:
    print("\n'Wrong answer, the correct answer is 4.Backbiter'")
    score=score-50
    print("""Your score is""",score)
    
#Q5
print(bcolors.BOLD,'*Question 5*')
print("\n'Who made the trident of Poseidon?'")
result=input('''1.Hephaestus
2.Oceanus
3.Gaea
4.Telkhines''')
if result=='4':
    print('Well done you got the correct answer')
    score=score+100
    print("""Your score is""",score)
else:
    print('Wrong answer, the correct answer is 4.Telkhines')
    score=score-50
    print("""Your score is""",score)
    
#Q6
print(bcolors.BOLD,'*Question 6*')
print('Who stole the Helm of Darkness?')
result=input('''1.Ares
2.Kronos
3.Luke
4.Percy''')
if result=='1' or result=='2':
    print('Well done you got the correct answer')
    score=score+100
    print("""Your score is""",score)
else:
    print('Wrong answer, the correct answer is 1.Ares or 2.Kronos')
    score=score-50
    print("""Your score is""",score)
    
#Q7
print(bcolors.BOLD,'*Question 7*')
print('What/Who did Percy get to save Thalias Tree?')
result=input('''1.The Golden Fleece
2.The antidode to the poison
3.Healing Herbs
4.The Gods''')
if result=='1':
    print('Well done you got the correct answer')
    score=score+100
    print("""Your score is""",score)
else:
    print('Wrong answer, the correct answer is 1.The Golden Fleece?')
    score=score-50
    print("""Your score is""",score)
    
#Q8
print('*Question 8*')
print(bcolors.BOLD,'Who is Percy Jacksons father?')
result=input('''1.Zeus
2.Kronos
3.Luke
4.Poseidon''')
if result=='4':
    print('Well done you got the correct answer')
    score=score+100
    print("""Your score is""",score)
else:
    print('Wrong answer, the correct answer is 4.Poseidon')
    score=score-50
    print("""Your score is""",score)
    
#Q9
print(bcolors.BOLD,'*Question 9*')
print('Where is Mount Olympus?')
result=input('''1.New York
2.Egypt
3.Greece
4.Rome''')
if result=='1':
    print('Well done you got the correct answer')
    score=score+100
    print("""Your score is""",score)
else:
    print('Wrong answer, the correct answer is 1.New York')
    score=score-50
    print("""Your score is""",score)
    
#Q10
print(bcolors.BOLD ,'*Question 10*')
print('Who killed Typhoon?')
result=input('''1.The Gods
2.Poseidon
3.Percy
4.Luke''')
if result=='2':
    print('Well done you got the correct answer')
    score=score+100
    print("""Your score is""",score)
else:
    print('Wrong answer, the correct answer is 2.Poseidon')
    score=score-50
    print("""Your score is""",score)
    

if score <-250 and score >=-500:
    print('You need to read the Percy Jackson Books very careful, lots of room for improvement, a little too much., Grade C-----')
elif score <0 and score >=-250:
    print('You need to read the Percy Jackson Books, Grade B-')
elif score >=0 and score <=500:
    print('You should read the books more carefully :(Grade B+')
elif score >500 and score <=800:
    print('Well done you read the books carefully :|, Grade A-')
elif score >800 and score <=999:
    print('You are almost a complete Percy Jackson know it all :), Grade A+')
elif score ==1000:
    print('You are a genius :) , Grade A++')

    # Quiz Questions From Percy Jackson books
    # Done By Hitarth Dangra

                                        
Name: Hitarth Dangra
Grade: 6
Be the Next Creator like :