https://gyazo.com/e6f527b2c3e5a6e265f86232e349f3a8
As u can see my % doesnt take the %s place, why so?
print("Welcome to the hardest quiz ever!\n")
correct = 0
incorrect = 0
total = 0
number = 0
question = "1 + 1"
x = 1
answer = 2
def questions(x, question, answer):
a = input("%s Question:\n%s") % (x, question)
attempts = 3
for i in range(1, 4):
if a == answer:
print("That is correct!")
correct = correct + 1
print(correct)
return correct
break
else:
print("That is incorrect. You have %s tries left.") % (attempts)
questions(x, question, answer)
ps. just help me with the %s problem, my script isnt done yet. So there might be some other mistakes