kyu_6.help_the_bookseller package¶
Submodules¶
kyu_6.help_the_bookseller.stock_list module¶
-
kyu_6.help_the_bookseller.stock_list.
stock_list
(listOfArt: list, listOfCat: list) → str[source]¶ You will be given a stocklist (e.g. : L) and a list of categories in capital letters e.g :
M = {“A”, “B”, “C”, “W”}
- or
M = [“A”, “B”, “C”, “W”] or …
and your task is to find all the books of L with codes belonging to each category of M and to sum their quantity according to each category.