Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 5
    I get the same result as @lvc (only on IDLE however, when executed as script I get this)) Commented May 29, 2013 at 13:19
  • 3
    @Inbar Rose Only if you run as script. Commented Apr 16, 2014 at 23:19
  • 5
    it is behavior of putting code via interactive shell. If function returns value without being used, interpreter would print it to shell as debug output Commented Jan 29, 2018 at 11:28