What was my mistake?

Asked

Viewed 34 times

-2

Alguem sabe onde errei?

Can anyone say / identify the mistake I made ? I really needed help I’m starting to learn

  • Please click on [Edit] and put the code and error message as text. Putting them as picture is not ideal, understand the reasons reading the FAQ. But probably the problem is the identation of the last else, that should be aligned with the if

1 answer

2

The last else that matches the last if must have the same indentation as the if.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.