Mega Code Archive
Categories
/
Python
/
Buildin Function
The repr() of a string adds string quotes and backslashes
hello = 'hello, world\n' hellos = repr(hello) print hellos