![]() | ![]() |
Escape Sequences
Single and Double Quotes
Example
Start IDLE.
Navigate to the File menu and click New Window.
Type the following:
print('They said, "We need a new team?"') # escape with single quotes
# escaping double quotes
print("They said, \" We need a new team\"")