food.fruit.Fuji

class food.fruit.Fuji(name='Fuji Apple', color='red')

A class representing a Fuji apple variety.

__init__(name='Fuji Apple', color='red')

Initialize a Fuji Apple instance.

Parameters:
  • name (str) – The name of the apple variety. Default is “Fuji Apple”.

  • color (str) – The color of the apple. Default is “red”.

Methods

__init__([name, color])

Initialize a Fuji Apple instance.

describe()

Return a description of the fruit.

make_cider([size])

Make Fuji apple cider of a given size.

make_pie([size])

Make an apple pie of a given size.