[Python-Dev] "and" and "or" operators in Py3.0
Raymond Hettinger
raymond.hettinger at verizon.net
Tue Sep 20 12:40:35 CEST 2005
More information about the Python-Dev mailing list
Tue Sep 20 12:40:35 CEST 2005
- Previous message: [Python-Dev] "and" and "or" operators in Py3.0
- Next message: [Python-Dev] "and" and "or" operators in Py3.0
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> > 2) When going back and forth between languages, it is easy to forget > > that only Python returns something other than a boolean. > > As others point out, this isn't true. In C, C++, C#, Java, and JavaScript, what do you get when you print the result of 3 || 10? Raymond
- Previous message: [Python-Dev] "and" and "or" operators in Py3.0
- Next message: [Python-Dev] "and" and "or" operators in Py3.0
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list