%s, str() 方式. %c, 字元. %r, repr() 方式. 範例程式:. text = '我叫%s' % 'Jacky' print(text) ''' 我叫Jacky ''' text = '我叫%s,性別%s' % ('Jacky ...
確定! 回上一頁