print('hello "world"') print("hello 'world'") # Escape character print('"hello" \'world\'')
hello "world"
hello 'world'
"hello" 'world'
print(r'Let \'s go!')
Let \'s go!
print('hello \nworld') print(repr('hello \nworld'))
hello
world
'hello \nworld'
print('hello \\nworld')
hello \nworld
print(''' hello world ''')
hello
world
[