8 Aug
2019
8 Aug
'19
9:03 a.m.
When you take a text string and create a string literal to represent it, sometimes you have to modify it to become syntactically valid.
Even simpler: use r""" instead of """ The only case where that won't work is when you need actual escape sequences. But I find this very rare in practice for triple-quoted strings.