(a==b) ? 'Yes' : 'No'

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Tue Mar 30 19:18:21 EDT 2010


In message <7316f3d2-bcc9-4a1a-8598-
cdd5d41fd74b at k17g2000yqb.googlegroups.com>, Joaquin Abian wrote:

> (a==b) and 'YES' or 'NO'
> 
> Yes, ugly

Why would you say that’s ugly?

By the way, you don’t need the parentheses.



More information about the Python-list mailing list