2016 發布的Python 3.6 新增f-string,可以解決%-formatting 變量不易閱讀以及str.format() 接變量後變超長的問題,如上面自介的例子: # variables
確定! 回上一頁