I understand that on string assignment that exceeds 1 line you can use either backslash, parenthesis or triple quotes. Is there any practical difference? Which is considered a better coding practice?
For example:
STR1 = """Peanut
butter
jam"""
STR2 = "Peanut" \
"butter" \
"jam"
STR3 = ("Peanut"
"butter"
"jam")
All of which run perfectly fine, but which one is less prone to future bugs, or is a better practice?