python新手提问,这个输入输出是什么愿意呢?
输入代码:
# -*- coding utf-8 -*-formatter="%r%r%r%r"print formatter %(1,2,3,4)print formatter %("one","two","three","four")print formatter %(True,False,False,True)print formatter %(formatter,formatter,formatter,formatter)print formatter %( "I had this thing.", "That you could type up right", "But it didn;t sing", "So I said goodnight")
>>> "abc"'abc'>>> "ab'c""ab'c">>> 'ab"c''ab"c'>>>