#!/usr/bin/python print "My name is %s and weight is %d kg!" % ('Zara', 21). 以上實例輸出結果: My name is Zara and weight is 21 kg! python字符串格式化符號: ...
確定! 回上一頁