Don’t use a triple-quoted string when you don’t want extra whitespace, tabs and newlines.
Use implicit continuation, it’s more elegant:
def f():
s = ('123'
'456')
return s
Don’t use a triple-quoted string when you don’t want extra whitespace, tabs and newlines.
Use implicit continuation, it’s more elegant:
def f():
s = ('123'
'456')
return s