0

例子:

>>> print "How do you do"

它打印为

'How do you do'

或者

>>> x = "How do you do"
>>> print x
'How do you do'

我刚开始学习python。我所有的打印命令都是这样来的。我该怎么办?

4

1 回答 1

2
>>> x = "How do you do"
>>> x
'How do you do' # representation of x
>>> print x
How do you do # printed version of x
于 2013-05-12T07:49:50.260 回答