kyu_6.who_likes_it package

Submodules

kyu_6.who_likes_it.likes_function module

kyu_6.who_likes_it.likes_function.likes(names: list) → str[source]

A function which must take in input array, containing the names of people who like an item. It must return the display text.

For 4 or more names, the number in and 2 others simply increases.

Parameters

names – input array, containing the names of people who like an item

Returns

the display text

kyu_6.who_likes_it.test_likes_function module

Testing likes function

class kyu_6.who_likes_it.test_likes_function.LikesTestCase(methodName='runTest')[source]

Bases: unittest.case.TestCase

Testing likes function

The function should take in input array, containing the names of people who like an item. It must return the display text. For 4 or more names, the number in and 2 others simply increases.

test_likes_function()[source]

Module contents