How should this function be changed to return "123456"?
def f():
s = """123
456"""
return s
UPDATE: Everyone, the question is about understanding how to not have \t or whatever when having a multiline comment, not how to use the re module.
Don’t use a triple-quoted string when you don’t want extra whitespace, tabs and newlines.
Use implicit continuation, it’s more elegant: