if answer = "b":
"add 1 to correct_answers"
else:
"add 1 to incorrect_answers"
.
also, i want the user to be able to quit the quiz at any time (by typing, for example, .quit). how would i tell python that? maybe i'm getting ahead of myself. i want the quiz to be in the style of:
if q_1 = "a":
"add 1 to correct_answers" AND(how to do this?) print "You have answered correctly"
else:
"add 1 to incorrect_answers" AND print "sorry, the correct answer was", a.
just one more q how exactly do i make a line break?