Invalid syntax error appears. Helping beginners.

Asked 1 years ago, Updated 1 years ago, 112 views

I hurt myself with the part in the book, but when I first put the Returns part on the left wall, I got an error called expected an indented block, so I wrote it with a space But I got this error message from none. What should I do? Please let me know. I'd appreciate it if you could tell me in detail It's so frustrating Help a beginner I think the none part is wrong, but if it pops up in orange like that, didn't you hit it right? For your information, I indented more returns and corrected the error

invalid

2022-09-22 16:10

1 Answers

I think you need more space. Only the Returns block seems to have a different indentation rule than the rest.


2022-09-22 16:10

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.