I'm just learning python from literally the ground up, and I'm trying to complete an "exercise" and I seem to be getting a weird bug. I know that when you're defining a function, you just leave a blank line to stop the definition. However, when I try to do this for a particular definition, it just keeps going and going and won't let me stop no matter how many blank lines I enter. Other definitions work just fine. The screenshot will show what I mean. The top one is the function I'm trying to write. The bottom screenie is an alternate function that works properly but is not as accurate for what I need.http://i.imgur.com/2S7mXTY.jpg
In case you're wondering, the exercise is thus:Write a function named right_justify that takes a string named s as a parameter and prints the string with enough leading spaces so that the last letter of the string is in column 70 of the display.
If someone can please help me know what is going on here, and why I can't STOP writing this particular function, I would be grateful! It's probably something obvious I'm missing, so maybe I can learn something.