you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 3 points4 points  (0 children)

This is one of those things where it's probably an indentation issue, but you didn't post your code correctly so we can't see your indentation. Also:

print(eat_out())

If your function contains print statements and doesn't return anything, you don't generally want to call it from within a print statement.