[Tutor] “has a value of True” versus “evaluates true”

Ben Finney ben+python at benfinney.id.au
Thu Nov 13 21:40:09 CET 2014

Danny Yoo <dyoo at hashcollision.org> writes:

> >> To quote: "Let your statement be: 'Yes, yes', or "no, no': anything
> >> beyond these is of evil."
> >
> > "Have you stopped abusing small children yet?"
> :(
> I don't understand what your response here means.

He's pointing out that many questions that ask a yes-or-no question
can't actually be truthfully answered “yes, yes”, nor “no, no”.

It seems you demonstrated his point quite well :-)

 \       “Some people have a problem, and they think “I know, I'll use |
  `\     Perl!”. Now they have some number of problems but they're not |
_o__)     sure whether it's a string or an integer.” —Benno Rice, 2011 |
Ben Finney

More information about the Tutor mailing list