single line if statement in python From http://stackoverflow.com/questions/2802726/putting-a-simple-if-then-statement-on-one-line
'Yes' if fruit == 'Apple' else 'No'