I'm making a game currently where I want there to be apostrophes within the dialogue. All of the dialogue is inside of a list, and for some reason simply printing the dialogue with the apostrophe works as shown in this example:
print("example: the girl\'s house")
But for some reason when I put that string in the list, I'm given an error saying "Parse Error: Invalid escape sequence"
dialogue = ["example: the girl\'s house"]
I don't understand why this is happening, and I'd really like to have apostrophes in my dialogue, so if you know why this happening or how to fix this, I'd really appreciate the help.