How to fix SyntaxError: f-string expression part cannot include a backslash in Python | DevErrors