Test de ligne Python

fruit = 'Apple'
isApple = True if fruit == 'Apple' else False

#vs

fruit = 'Apple'
isApple = False
if fruit == 'Apple' : isApple = True
Abs Zarzis