Putting a backslash in front of character, is used in Python to remove a meaning from character. In below example, we remove Python meaning of "starting or ending the string":
string_with_quotes = "He said \"Learn Python!\" yesterday"