kyu_6.count_letters_in_string package

Submodules

kyu_6.count_letters_in_string.count_letters_in_string module

Solution for -> Count letters in string.

Created by Egor Kostan. GitHub: https://github.com/ikostan

kyu_6.count_letters_in_string.count_letters_in_string.letter_count(s: str) dict[source]

Letter count.

Count lowercase letters in a given string and return the letter count in a hash with ‘letter’ as key and count as ‘value’. :param s: :return:

kyu_6.count_letters_in_string.test_count_letters_in_string module

Test for -> Count letters in string.

Created by Egor Kostan. GitHub: https://github.com/ikostan

class kyu_6.count_letters_in_string.test_count_letters_in_string.CountLettersInStringTestCase(methodName='runTest')[source]

Bases: TestCase

Testing ‘letter_count’ function.

_classSetupFailed = False
_class_cleanups = []
test_count_letters_in_string()[source]

Testing ‘letter_count’ function.

Returns:

Module contents

Count letters in string.