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*

7
  • 56
    \$\begingroup\$ if(i,j)==(4,4): is even shorter and in this special case if i==j==4: \$\endgroup\$ Commented Jan 28, 2011 at 0:14
  • 5
    \$\begingroup\$ Related: 4or a works, but not a or4 \$\endgroup\$ Commented Jan 28, 2011 at 0:15
  • 25
    \$\begingroup\$ 0or also doesn't work (0o is a prefix for octal numbers). \$\endgroup\$ Commented Feb 2, 2011 at 17:28
  • 8
    \$\begingroup\$ @Nabb Not that it matters anyways, since 0 or x is always gonna return x. Might as well cut out the 0 or. \$\endgroup\$ Commented Apr 6, 2014 at 12:57
  • 11
    \$\begingroup\$ 0or is fine as part of a longer number though. 10 or x is equivalent to 10or x. \$\endgroup\$ Commented Apr 20, 2014 at 22:39