I have a problem with my code:
def enum2(q,k):
n = q.length
if k == n:
#asdasdsa
else:
for i in range(0,n):
q[k] = i
if (isSafe(q,k)):
enum2(q,k+1)
else:
^
IndentationError: expected an indented block
The Python compiler throws the above error regarding the indentation in the else statement, but I don't know why.
I have looked for spaces but I didn't find any except tabs.
Aucun commentaire:
Enregistrer un commentaire