Python has a "string format" operator % . This functions analogously to printf format strings in C, e.g. "spam=%s eggs=%d" % ("blah", 2) evaluates to ...
確定! 回上一頁