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.

Required fields*

3
  • 1
    Can you make it more clear , Sir ? Commented Mar 4, 2018 at 2:11
  • 1
    Wow, this is a really bad answer from nine years ago, I don't think there's any way we can improve it. Sorry! Commented Mar 16, 2018 at 1:38
  • 1
    @Legend I think @grilix is referring to the ability for print() to return 1. if the foo() function returns false, then the and part is false... so that allows the second part of the evaluation ( after the or ) to execute. It's an interesting use of print that I hadn't thought of. Commented May 24, 2018 at 22:36