Interpreter executes it directly, calling happyBirthdayEmily() Humans, to emphasize the end of the definition.) (The code also shows a blank line there, but that is only for The definition ends where the indentation ends.
The execution sequence is different from the textual sequence: '''Function definition and invocation.''' def happyBirthdayEmily (): print ( 'Happy Birthday to you!' ) print ( 'Happy Birthday to you!' ) print ( 'Happy Birthday, dear Emily.' ) print ( 'Happy Birthday to you!' ) happyBirthdayEmily () happyBirthdayEmily ()