repr creates a string that is a representation of the value as a legal Python expression : repr « String « Python Tutorial






print repr("Hello, world!")
print repr(10000L)
5.24.repr
5.24.1.repr creates a string that is a representation of the value as a legal Python expression