-3

enter image description here

i use Python and Visual Studio Code IDE

Is there a way to fix this?

kevin
  • 1

1 Answers1

0

Backslashes in strings are ”escape characters” used to signify special characters such as newline (\n), tab (\t), and so on.

To put an actual backslash in a string, use a double backslash: this\\that, or use an r-string: r”this\that”.

Simon Lundberg
  • 1,413
  • 2
  • 11
  • 23