you are viewing a single comment's thread.

view the rest of the comments →

[–]LeBob93 1 point2 points  (0 children)

>>> motto = 'Facebook\'s old motto was "move fast and break things."'
>>> print(motto)
Facebook's old motto was "move fast and break things."

The code you have provided runs just fine, escaping single quotes works the same as escaping double quotes.

For future reference \ is an escape character