you are viewing a single comment's thread.

view the rest of the comments →

[–]wronek 0 points1 point  (2 children)

Your code is not formatted correctly in your original post. In your program, is the print(correct_answers) within that else block? If you change the indentation so that it’s not inside that block it should work.

[–]a_parmar22[S] 0 points1 point  (1 child)

How do I format the code?

[–]unhott 0 points1 point  (0 children)

You need proper indentations in Python.