Skip to content

Files

Latest commit

789601b · Jul 30, 2017

History

History
20 lines (19 loc) · 438 Bytes

File metadata and controls

20 lines (19 loc) · 438 Bytes

Escape Character

The escape character is "\" and this character is invoked an alternative interpretation in a character sequence.

>>> print('\\')
\
>>> print('\'')
'
>>> print('Helllo\nWorld')
Hello
World

We can use escape character to print hex value Unicode character.

>>> print('\uxxxx')
Л

Instructions: Use escape character "new line" in the string_escape