+ 4
The if statement in line 5 needs a colon. The return statement in line 8, and all the lines that follow are wrongly indented. The while statement in line 14 is missing its colon. The indentation for the while ststements are too far to the right. That's enough to get it to run.
7th Oct 2020, 4:34 AM
Brian
Brian - avatar