Banana

class food.fruit.Banana(name='Banana', color='yellow')

A class representing a banana fruit.

describe()

Return a description of the fruit.

Returns:

A description of the fruit.

Return type:

str

make_smoothie(size='medium')

Make a banana smoothie of a given size.

Parameters:

size (str) – The size of the smoothie. Default is “medium”.