Quiz Game . If Not Executing
The problem is that it does not execute the last part of code when the user gives as input 'ok',any ideas?. I try also to make it def and call it but the same happened. I am stuck.
Solution 1:
the problem is with the
if endgame.lower()=="ok":
x==True
You do not set the x
as True
. You are asking the program whether the x
is True
. You have to change it into x = True
Post a Comment for "Quiz Game . If Not Executing"