kyu_4.strip_comments package
Submodules
kyu_4.strip_comments.solution module
Solution for -> Strip Comments.
Created by Egor Kostan. GitHub: https://github.com/ikostan
- kyu_4.strip_comments.solution.solution(string: str, markers: list) str[source]
Strip comments solution.
The solution strips all text that follows any of a set of comment markers passed in. Any whitespace at the end of the line will be stripped out as well.
- Parameters:
string – str
markers – list
- Returns:
str
kyu_4.strip_comments.test_solution module
Test for -> Strip Comments.
Created by Egor Kostan. GitHub: https://github.com/ikostan
Module contents
Strip Comments package.