一¶
>>> word="hello\t world!\nhello motto!"
>>> str(word)
'hello\t world!\nhello motto!'
>>> repr(word)
"'hello\\t world!\\nhello motto!'"
>>> print str(word)
hello world!
hello motto!
>>> print repr(word)
'hello\t world!\nhello motto!'
>>>
二¶
>>> str(0.1)
'0.1'
>>> repr(0.1)
'0.10000000000000001'