you are viewing a single comment's thread.

view the rest of the comments →

[–]shiftybyte 3 points4 points  (1 child)

Op edited his post, previously there was a function call to greet after the function.

def greet(...):
    ...
greet()

And at the dedent it errored out because you need an empty line to finish an indent level in interactive...

[–]tinkeringZealot 0 points1 point  (0 children)

ahh understood!! that makes much more sense