Contents:
kyu_8.remove_first_and_last_character.remove_char.
remove_char
A function that removes the first and last characters of a string.
You’re given one parameter, the original string.
You don’t have to worry with strings with less than two characters. :param s: :return:
kyu_8.remove_first_and_last_character.test_remove_char.
RemoveCharTestCase
Bases: unittest.case.TestCase
unittest.case.TestCase
Testing remove_char function
test_remove_char
Test that ‘remove_char’ function removes the first and last characters of a string. :return: