NCU-GS4538-Linux/Linux-Community

[申請人工文章判定] [資訊量充足] Comment from Party-zero

Opened this issue · 0 comments

原文被AI評價為「資訊量充足」
原文網址:#210 (comment)
原文內容:
謝謝你,我真的覺得這些想法都很實用,尤其是我之前import python,總是會遇到執行多次的問題,if __name__ == '__main__':這個方法與main()的形式,真的會讓人更容易理解。
除此之外,我也想分享有關print輸出的一些知識,那就是使用 f-string 來格式化字串。f-string 可以讓我們在字串中直接插入變數的值

說明: