甲班蘇俊宇PYTHON特色:維基百科

維基百科PYTHON

縮排INDENTATION

Python uses whitespace indentation(使用空白鍵縮排), rather than curly brackets or keywords(而不是使用大括號或是關鍵字), to delimit blocks(來分隔區段). An increase in indentation comes after certain statements; a decrease in indentation signifies the end of the current block.[82] Thus, the program's visual structure accurately represents its semantic structure.[83] This feature is sometimes termed the off-side rule. Some other languages use indentation this way; but in most, indentation has no semantic meaning. The recommended indent size is four spaces. Python uses whitespace indentation, rather than curly brackets or keywords, to delimit blocks. An increase in indentation comes after certain statements; a decrease in indentation signifies the end of the current block.[82] Thus, the program's visual structure accurately represents its semantic structure.[83] This feature is sometimes termed the off-side rule. Some other languages use indentation this way; but in most, indentation has no semantic meaning. The recommended indent size is four spaces.[84]

留言

  1. 期末考pre有瑕疵https://umyjmyju45545.blogspot.com/2026/01/python.html
    1229. https://umyjmyju45545.blogspot.com/2025/12/python.html

    回覆刪除

張貼留言

這個網誌中的熱門文章

甲班蘇俊宇PYTHON輸入TKINTER與MATH函式庫

蘇俊宇python產生金融常識

蘇俊宇甲輸入方塊的Return事件