Source Code:
(back to article)
string = " Hello World! \n" string = string.strip() print(repr(string)) # Output: "Hello World!"
Result:
Report an issue