The Boredless Tourist

The Boredless Tourist

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?

1 Like

Hi there, welcome to the forums. :slight_smile:

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. :slight_smile:

Ohhhhhh, I get it now Thank you!

1 Like