Python in Line Warunkowe stwierdzenie

>>> age = 15
>>> print('kid' if age < 13 else 'teenager' if age < 18 else 'adult')
teenager
Trained Tuna