(檔名:format_4.py) 01 str = '代扣電費' 02 sum = 1700 03 print(f'項目:{str} ... 2 格式字串引數是指定格式的字串,其用法和前面介紹字串的 format()方法大致相同。
確定! 回上一頁