SyntaxFix
Write A Post
Hire A Developer
Questions
if string is a variable, use the .repr method on it:
>>> s = '\tgherkin\n' >>> s '\tgherkin\n' >>> print(s) gherkin >>> print(s.__repr__()) '\tgherkin\n'