0
Python - Need a little help resolving syntax error on line 60 (else statement)
2 Respuestas
0
Last if else from line 57 I think
if (result == 0):
print("The " + str(N) + "st Fibonacci number is: " + str(untilNthFib(N)))
else:
result = checkSuffix(A, C)
if (result == 0):
print("The " + str(N) + "nd Fibonacci number is: " + str(untilNthFib(N)))
else:
result = checkSuffix(A, D)
if (result == 0):
print("The " + str(N) + "rd Fibonacci number is: " + str(untilNthFib(N)) )
else:
print("The " + str(N) + "th Fibonacci number is: " + str(untilNthFib(N)) )
Change it
0
Ah, closing brackets.
Thanks.