When I am defining the function get_destination_index(), it gives me a syntax error. I have tried defining other random functions, but it keeps giving me a SyntaxError whenever I try to define function. Why is it doing this?
Hi there, welcome to the forums.
Take a closer look at line 3…
Whilst the Traceback is saying you have an error on line 6, that’s not actually where the problem is.
Ohhhhhh, I get it now Thank you!