In the code I provided there is an
>IndentationError in line 10, or at the END of:
> while ((while_bolian == "") and (correct_count >= 0) and (total_count != 0)) or ((while_bolian == True) and (correct_count >= 0) and (total_count != 0)):
However all my indentations seem correct, I am using pycharm and if I put my cursor just after the above line of code it says Indent Expected
.
I have done research about this error however nothing seems to be helping with the problem.
total_count = int(input("how many questions do you want to be in the quizz \n10.\n50.\n100.\n:"))
try:
while ((while_bolian == "") and (correct_count >= 0) and (total_count != 0)) or ((while_bolian == True) and (correct_count >= 0) and (total_count != 0)):
except ValueError:
print("please enter a question limit")
> line 10
except ValueError:
^
IndentationError: expected an indented block
> Process finished with exit code 1