CodyKochmann
9/22/2016 - 4:35 PM

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'