formatter = "%r %r %r %r"
print formatter % (
"I had this thing.",
"That you could type up right.",
"But it didn't sing.",
"So I said goodnight."
)
上边这段程序结果如下:
'I had this thing.' 'That you could type up right.' "But it didn't sing." 'So I said goodnight.'
为什么有的是‘ ’有的是‘’‘’?
蜂之谷
相关分类