在Python 裡,除了可以使用基本功能串接字串,也可以針對不同的格式,將資料插入字串當中, ... I am {:+^10s}'.format('world','oxxo') e = 'hello {:-^10.3s}, ...
確定! 回上一頁