drinks#
Package Contents#
Classes#
Abstract class to prepare hot beverages |
|
Prepare and serve Coffees |
|
Prepare and serve Tea |
- class drinks.HotBeverage#
Bases:
abc.ABC
Abstract class to prepare hot beverages
- Parámetros:
temperature (float, optional) – Temperature at which the hot beverage is prepared.
- temperature: float = 100.0#
Temperature at which the hot beverage is prepared.
- prepare_recipe()#
Prepares the hot beverage
- boil_water()#
Boils water
- pour()#
Pours beverage into cup
- class drinks.Coffee#
Bases:
drinks.hot_beverage.HotBeverage
Prepare and serve Coffees
Ver también
- brew()#
Drips coffee with water at temperature
- add_extras()#
Add sugar and milk
- class drinks.Tea#
Bases:
drinks.hot_beverage.HotBeverage
Prepare and serve Tea
Ver también
- brew()#
Steeps the tea at temperature
- add_extras()#
Add lemon to tea