kyu_7.disemvowel_trolls package

Submodules

kyu_7.disemvowel_trolls.disemvowel_trolls module

kyu_7.disemvowel_trolls.disemvowel_trolls.disemvowel(string)[source]

A function that takes a string and return a new string with all vowels removed.

For example, the string “This website is for losers LOL!” would become “Ths wbst s fr lsrs LL!”.

Note: for this kata y isn’t considered a vowel. :param string: :return:

kyu_7.disemvowel_trolls.test_disemvowel_trolls module

class kyu_7.disemvowel_trolls.test_disemvowel_trolls.DisemvowelTestCase(methodName='runTest')[source]

Bases: unittest.case.TestCase

Testing disemvowel function

test_disemvowel()[source]

The string “This website is for losers LOL!” should become “Ths wbst s fr lsrs LL!” :return:

Module contents