in reply to Re^2: [Homework Question] Subroutines & References
in thread [Homework Question] Subroutines & References
"Correct bracket location" doesn't enter into it.
The hint is that your final print statement is deeply indented after tidying. It is indented to the same level as the if statement, because that's where it goes based on the brackets you wrote.
You didn't want it to be at the same level as the if statement, and that's the clue that you need to add the close brackets.
|
|---|