kyu_8.reversed_strings package

Submodules

kyu_8.reversed_strings.reversed_strings module

Solution for -> Reversed Strings.

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

kyu_8.reversed_strings.reversed_strings.solution(string: str) str[source]

Reverse the string value.

Parameters:

string – str

Returns:

str

kyu_8.reversed_strings.test_reversed_strings module

Test for -> Reversed Strings.

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

class kyu_8.reversed_strings.test_reversed_strings.ReversedStringsTestCase(methodName='runTest')[source]

Bases: TestCase

Testing the solution for ‘Reversed Strings’ problem.

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

Test with regular string.

Returns:

test_reversed_strings_empty()[source]

Test with empty string.

Returns:

test_reversed_strings_one_char()[source]

Test with one char only.

Returns:

Module contents

Reversed Strings.