A bunch of examples#
To retrieve a list of random ingredients,
you can use the:math:lumache.get_random_ingredients() function:
- lumache.get_random_ingredients(kind=None)#
Return a list of random ingredients as strings.
- Parameters:
kind (list[str] or None) – Optional “kind” of ingredients.
- Raises:
lumache.InvalidKindError – If the kind is invalid.
- Returns:
The ingredients list.
- Return type:
list[str]
The:math:kind parameter should be either:math:"meat",:math:"fish", or
"veggies". Otherwise, lumache.get_random_ingredients() will raise
an exception.
- exception lumache.InvalidKindError#
Raised if the kind is invalid.
-
typedef std::vector<int> CustomList#
A typedef-like declaration of a type.
Cross reference to CustomList.
- CosetTable(G, H): Grp, Grp CstTbl#
- Order(G): Grp RngIntElt#
- Append(~L, x): List, .#
- g * h: GrpElt, GrpElt GrpElt#
- (g, h): GrpElt, GrpElt GrpElt#
- Group< G | L >: Grp, SeqEnum Grp#