[Simple] Maths Quiz

print("Welcome to the math QUiz")
print("[To pass you need to score 4/6]")

score = 0

quiz1 = input("[1] What is 3(2+1)+4(5+1) ")
if quiz1 == "33":
print("Correct")
score = score + 1
else:
print("Incorrect")
print("Points:" ,score)


quiz2 = input("[2] When x = 3 and p = 1 what 10(x+p): ")
if quiz2 == "40":
print("Correct")
score = score + 1
else:
print("Incorrect")
print("Points:" ,score)


quiz3 = input("[3] What is 6000000/3000000: ")
if quiz3 == "2":
print("Correct")
score = score + 1
else:
print("Incorrect")
print("Points:" ,score)


quiz4 = input("[4] When was srk born?(YEAR) ")
if quiz4 == "1965":
print("Correct")
score = score + 1
else:
print("Visakha dumb")
print("Points:" ,score)

if score == 4:
print("You pass!")
else:
print("You failed.")
print("----------------------------------------")

print("Not really maths questions from now on:")
print("----------------------------------------")

quiz5 = input("[5] whats my full name?: ")
if quiz5 == "mohammed lukman ali":
print("Correct")
score = score + 1
else:
print("Incorrect")
print("Points:" ,score)

quiz6 = input("[6] How are you: ")

if quiz6 == "good":
print("Great!")
score = score + 1
else:
print("Be positive, nice things will surely happen, wait!")
print("Points", score)


Comments

Popular posts from this blog

Password Generator Beginner

Scoreboard Unit 4 - programming