kyu_8.the_feast_of_many_beasts package
Submodules
kyu_8.the_feast_of_many_beasts.feast module
Solution for -> The Feast of Many Beasts.
Created by Egor Kostan. GitHub: https://github.com/ikostan
- kyu_8.the_feast_of_many_beasts.feast.feast(beast: str, dish: str) bool[source]
‘feast’ function.
A function that takes the animal’s name and dish as arguments and returns true or false to indicate whether the beast is allowed to bring the dish to the feast.
Assume that beast and dish are always lowercase strings, and that each has at least two letters. beast and dish may contain hyphens and spaces, but these will not appear at the beginning or end of the string. They will not contain numerals. :param beast: str :param dish: str :return: bool
kyu_8.the_feast_of_many_beasts.test_feast module
Test for -> The Feast of Many Beasts.
Created by Egor Kostan. GitHub: https://github.com/ikostan
Module contents
The Feast of Many Beasts.