(a==b) ? 'Yes' : 'No'
ldo at geek-central.gen.new_zealand
Sun Apr 4 02:26:05 CEST 2010
In message <mailman.1345.1269992641.23598.python-list at python.org>, Steve
> Lawrence D'Oliveiro wrote:
>> By the way, you don’t need the parentheses.
> But at the same time, if you don't *absolutely know* you don't need the
> parentheses ...
But you can “abolutely know”—it’s all spelled out here
<http://docs.python.org/reference/expressions.html>. Just keep that page
open every time you write Python code.
More information about the Python-list