1 string="hello" 2 3 #%s打印时结果是hello 4 print "string=%s" % string # output: string=hello 5 6 #%2s意思是字符串长度为2,当原字符串的长度 ...
確定! 回上一頁