René's URL Explorer Experiment


Title: 7. 簡單陳述式 — Python 3.14.0 說明文件

direct link

Domain: python.github.io

readthedocs-addons-api-version1

Links:

https://www.python.org/
目錄https://python.github.io/python-docs-zh-tw/contents.html
7. 簡單陳述式https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html
7.1. Expression statementshttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#expression-statements
7.2. Assignment statementshttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#assignment-statements
7.2.1. 擴增賦值陳述式https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#augmented-assignment-statements
7.2.2. 註釋賦值陳述式https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#annotated-assignment-statements
7.3. assert 陳述式https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#the-assert-statement
7.4. pass 陳述式https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#the-pass-statement
7.5. del 陳述式https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#the-del-statement
7.6. return 陳述式https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#the-return-statement
7.7. yield 陳述式https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#the-yield-statement
7.8. raise 陳述式https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#the-raise-statement
7.9. break 陳述式https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#the-break-statement
7.10. continue 陳述式https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#the-continue-statement
7.11. import 陳述式https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#the-import-statement
7.11.1. Future statementshttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#future-statements
7.12. global 陳述式https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#the-global-statement
7.13. nonlocal 陳述式https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#the-nonlocal-statement
7.14. type 陳述式https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#the-type-statement
6. 運算式https://python.github.io/python-docs-zh-tw/reference/expressions.html
8. 複合陳述式https://python.github.io/python-docs-zh-tw/reference/compound_stmts.html
回報錯誤https://python.github.io/python-docs-zh-tw/bugs.html
顯示原始碼 https://github.com/python/cpython/blob/main/Doc/reference/simple_stmts.rst?plain=1
索引https://python.github.io/python-docs-zh-tw/genindex.html
模組https://python.github.io/python-docs-zh-tw/py-modindex.html
下一頁https://python.github.io/python-docs-zh-tw/reference/compound_stmts.html
上一頁https://python.github.io/python-docs-zh-tw/reference/expressions.html
Pythonhttps://www.python.org/
3.14.0 Documentationhttps://python.github.io/python-docs-zh-tw/index.html
Python 語言參考手冊https://python.github.io/python-docs-zh-tw/reference/index.html
7. 簡單陳述式https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html
https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#simple-statements
expression_stmthttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#grammar-token-python-grammar-expression_stmt
assert_stmthttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#grammar-token-python-grammar-assert_stmt
assignment_stmthttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#grammar-token-python-grammar-assignment_stmt
augmented_assignment_stmthttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#grammar-token-python-grammar-augmented_assignment_stmt
annotated_assignment_stmthttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#grammar-token-python-grammar-annotated_assignment_stmt
pass_stmthttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#grammar-token-python-grammar-pass_stmt
del_stmthttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#grammar-token-python-grammar-del_stmt
return_stmthttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#grammar-token-python-grammar-return_stmt
yield_stmthttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#grammar-token-python-grammar-yield_stmt
raise_stmthttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#grammar-token-python-grammar-raise_stmt
break_stmthttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#grammar-token-python-grammar-break_stmt
continue_stmthttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#grammar-token-python-grammar-continue_stmt
import_stmthttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#grammar-token-python-grammar-import_stmt
future_stmthttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#grammar-token-python-grammar-future_stmt
global_stmthttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#grammar-token-python-grammar-global_stmt
nonlocal_stmthttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#grammar-token-python-grammar-nonlocal_stmt
type_stmthttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#grammar-token-python-grammar-type_stmt
https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#expression-statements
starred_expressionhttps://python.github.io/python-docs-zh-tw/reference/expressions.html#grammar-token-python-grammar-starred_expression
repr()https://python.github.io/python-docs-zh-tw/library/functions.html#repr
https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#assignment-statements
target_listhttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#grammar-token-python-grammar-target_list
starred_expressionhttps://python.github.io/python-docs-zh-tw/reference/expressions.html#grammar-token-python-grammar-starred_expression
yield_expressionhttps://python.github.io/python-docs-zh-tw/reference/expressions.html#grammar-token-python-grammar-yield_expression
targethttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#grammar-token-python-grammar-target
targethttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#grammar-token-python-grammar-target
identifierhttps://python.github.io/python-docs-zh-tw/reference/lexical_analysis.html#grammar-token-python-grammar-identifier
target_listhttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#grammar-token-python-grammar-target_list
target_listhttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#grammar-token-python-grammar-target_list
attributerefhttps://python.github.io/python-docs-zh-tw/reference/expressions.html#grammar-token-python-grammar-attributeref
subscriptionhttps://python.github.io/python-docs-zh-tw/reference/expressions.html#grammar-token-python-grammar-subscription
slicinghttps://python.github.io/python-docs-zh-tw/reference/expressions.html#grammar-token-python-grammar-slicing
targethttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#grammar-token-python-grammar-target
Primarieshttps://python.github.io/python-docs-zh-tw/reference/expressions.html#primaries
標準型別階層https://python.github.io/python-docs-zh-tw/reference/datamodel.html#types
globalhttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#global
nonlocalhttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#nonlocal
nonlocalhttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#nonlocal
TypeErrorhttps://python.github.io/python-docs-zh-tw/library/exceptions.html#TypeError
AttributeErrorhttps://python.github.io/python-docs-zh-tw/library/exceptions.html#AttributeError
property()https://python.github.io/python-docs-zh-tw/library/functions.html#property
IndexErrorhttps://python.github.io/python-docs-zh-tw/library/exceptions.html#IndexError
__setitem__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__setitem__
PEP 3132https://peps.python.org/pep-3132/
https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#augmented-assignment-statements
augtargethttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#grammar-token-python-grammar-augtarget
augophttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#grammar-token-python-grammar-augop
expression_listhttps://python.github.io/python-docs-zh-tw/reference/expressions.html#grammar-token-python-grammar-expression_list
yield_expressionhttps://python.github.io/python-docs-zh-tw/reference/expressions.html#grammar-token-python-grammar-yield_expression
identifierhttps://python.github.io/python-docs-zh-tw/reference/lexical_analysis.html#grammar-token-python-grammar-identifier
attributerefhttps://python.github.io/python-docs-zh-tw/reference/expressions.html#grammar-token-python-grammar-attributeref
subscriptionhttps://python.github.io/python-docs-zh-tw/reference/expressions.html#grammar-token-python-grammar-subscription
slicinghttps://python.github.io/python-docs-zh-tw/reference/expressions.html#grammar-token-python-grammar-slicing
Primarieshttps://python.github.io/python-docs-zh-tw/reference/expressions.html#primaries
caveat about class and instance attributeshttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#attr-target-note
https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#annotated-assignment-statements
註釋https://python.github.io/python-docs-zh-tw/glossary.html#term-variable-annotation
augtargethttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#grammar-token-python-grammar-augtarget
expressionhttps://python.github.io/python-docs-zh-tw/reference/expressions.html#grammar-token-python-grammar-expression
starred_expressionhttps://python.github.io/python-docs-zh-tw/reference/expressions.html#grammar-token-python-grammar-starred_expression
yield_expressionhttps://python.github.io/python-docs-zh-tw/reference/expressions.html#grammar-token-python-grammar-yield_expression
Assignment statementshttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#assignment
annotation scopehttps://python.github.io/python-docs-zh-tw/reference/executionmodel.html#annotation-scopes
__annotations__https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__annotations__
annotationlibhttps://python.github.io/python-docs-zh-tw/library/annotationlib.html#module-annotationlib
__setitem__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__setitem__
__setattr__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__setattr__
PEP 526https://peps.python.org/pep-0526/
PEP 484https://peps.python.org/pep-0484/
typinghttps://python.github.io/python-docs-zh-tw/library/typing.html#module-typing
annotation scopehttps://python.github.io/python-docs-zh-tw/reference/executionmodel.html#annotation-scopes
https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#the-assert-statement
expressionhttps://python.github.io/python-docs-zh-tw/reference/expressions.html#grammar-token-python-grammar-expression
expressionhttps://python.github.io/python-docs-zh-tw/reference/expressions.html#grammar-token-python-grammar-expression
__debug__https://python.github.io/python-docs-zh-tw/library/constants.html#debug__
AssertionErrorhttps://python.github.io/python-docs-zh-tw/library/exceptions.html#AssertionError
-Ohttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-O
asserthttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#assert
__debug__https://python.github.io/python-docs-zh-tw/library/constants.html#debug__
https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#the-pass-statement
passhttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#pass
https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#the-del-statement
target_listhttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#grammar-token-python-grammar-target_list
globalhttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#global
NameErrorhttps://python.github.io/python-docs-zh-tw/library/exceptions.html#NameError
https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#the-return-statement
expression_listhttps://python.github.io/python-docs-zh-tw/reference/expressions.html#grammar-token-python-grammar-expression_list
returnhttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#return
returnhttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#return
returnhttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#return
tryhttps://python.github.io/python-docs-zh-tw/reference/compound_stmts.html#try
finallyhttps://python.github.io/python-docs-zh-tw/reference/compound_stmts.html#finally
returnhttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#return
StopIterationhttps://python.github.io/python-docs-zh-tw/library/exceptions.html#StopIteration
StopIterationhttps://python.github.io/python-docs-zh-tw/library/exceptions.html#StopIteration
StopIteration.valuehttps://python.github.io/python-docs-zh-tw/library/exceptions.html#StopIteration.value
returnhttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#return
StopAsyncIterationhttps://python.github.io/python-docs-zh-tw/library/exceptions.html#StopAsyncIteration
https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#the-yield-statement
yield_expressionhttps://python.github.io/python-docs-zh-tw/reference/expressions.html#grammar-token-python-grammar-yield_expression
yieldhttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#yield
yield expressionhttps://python.github.io/python-docs-zh-tw/reference/expressions.html#yieldexpr
generatorhttps://python.github.io/python-docs-zh-tw/glossary.html#term-generator
yieldhttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#yield
yieldhttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#yield
Yield expressionshttps://python.github.io/python-docs-zh-tw/reference/expressions.html#yieldexpr
https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#the-raise-statement
expressionhttps://python.github.io/python-docs-zh-tw/reference/expressions.html#grammar-token-python-grammar-expression
expressionhttps://python.github.io/python-docs-zh-tw/reference/expressions.html#grammar-token-python-grammar-expression
raisehttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#raise
RuntimeErrorhttps://python.github.io/python-docs-zh-tw/library/exceptions.html#RuntimeError
raisehttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#raise
BaseExceptionhttps://python.github.io/python-docs-zh-tw/library/exceptions.html#BaseException
__traceback__https://python.github.io/python-docs-zh-tw/library/exceptions.html#BaseException.__traceback__
with_traceback()https://python.github.io/python-docs-zh-tw/library/exceptions.html#BaseException.with_traceback
__cause__https://python.github.io/python-docs-zh-tw/library/exceptions.html#BaseException.__cause__
excepthttps://python.github.io/python-docs-zh-tw/reference/compound_stmts.html#except
finallyhttps://python.github.io/python-docs-zh-tw/reference/compound_stmts.html#finally
withhttps://python.github.io/python-docs-zh-tw/reference/compound_stmts.html#with
__context__https://python.github.io/python-docs-zh-tw/library/exceptions.html#BaseException.__context__
Nonehttps://python.github.io/python-docs-zh-tw/library/constants.html#None
例外https://python.github.io/python-docs-zh-tw/reference/executionmodel.html#exceptions
try 陳述式https://python.github.io/python-docs-zh-tw/reference/compound_stmts.html#try
Nonehttps://python.github.io/python-docs-zh-tw/library/constants.html#None
__suppress_context__https://python.github.io/python-docs-zh-tw/library/exceptions.html#BaseException.__suppress_context__
excepthttps://python.github.io/python-docs-zh-tw/reference/compound_stmts.html#except
https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#the-break-statement
breakhttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#break
forhttps://python.github.io/python-docs-zh-tw/reference/compound_stmts.html#for
whilehttps://python.github.io/python-docs-zh-tw/reference/compound_stmts.html#while
forhttps://python.github.io/python-docs-zh-tw/reference/compound_stmts.html#for
breakhttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#break
breakhttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#break
tryhttps://python.github.io/python-docs-zh-tw/reference/compound_stmts.html#try
finallyhttps://python.github.io/python-docs-zh-tw/reference/compound_stmts.html#finally
https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#the-continue-statement
continuehttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#continue
forhttps://python.github.io/python-docs-zh-tw/reference/compound_stmts.html#for
whilehttps://python.github.io/python-docs-zh-tw/reference/compound_stmts.html#while
continuehttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#continue
tryhttps://python.github.io/python-docs-zh-tw/reference/compound_stmts.html#try
finallyhttps://python.github.io/python-docs-zh-tw/reference/compound_stmts.html#finally
https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#the-import-statement
modulehttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#grammar-token-python-grammar-module
identifierhttps://python.github.io/python-docs-zh-tw/reference/lexical_analysis.html#grammar-token-python-grammar-identifier
modulehttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#grammar-token-python-grammar-module
identifierhttps://python.github.io/python-docs-zh-tw/reference/lexical_analysis.html#grammar-token-python-grammar-identifier
relative_modulehttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#grammar-token-python-grammar-relative_module
identifierhttps://python.github.io/python-docs-zh-tw/reference/lexical_analysis.html#grammar-token-python-grammar-identifier
identifierhttps://python.github.io/python-docs-zh-tw/reference/lexical_analysis.html#grammar-token-python-grammar-identifier
identifierhttps://python.github.io/python-docs-zh-tw/reference/lexical_analysis.html#grammar-token-python-grammar-identifier
identifierhttps://python.github.io/python-docs-zh-tw/reference/lexical_analysis.html#grammar-token-python-grammar-identifier
relative_modulehttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#grammar-token-python-grammar-relative_module
identifierhttps://python.github.io/python-docs-zh-tw/reference/lexical_analysis.html#grammar-token-python-grammar-identifier
identifierhttps://python.github.io/python-docs-zh-tw/reference/lexical_analysis.html#grammar-token-python-grammar-identifier
identifierhttps://python.github.io/python-docs-zh-tw/reference/lexical_analysis.html#grammar-token-python-grammar-identifier
identifierhttps://python.github.io/python-docs-zh-tw/reference/lexical_analysis.html#grammar-token-python-grammar-identifier
relative_modulehttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#grammar-token-python-grammar-relative_module
identifierhttps://python.github.io/python-docs-zh-tw/reference/lexical_analysis.html#grammar-token-python-grammar-identifier
identifierhttps://python.github.io/python-docs-zh-tw/reference/lexical_analysis.html#grammar-token-python-grammar-identifier
modulehttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#grammar-token-python-grammar-module
fromhttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#from
importhttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#import
import systemhttps://python.github.io/python-docs-zh-tw/reference/import.html#importsystem
fromhttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#from
fromhttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#from
importhttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#import
ImportErrorhttps://python.github.io/python-docs-zh-tw/library/exceptions.html#ImportError
importhttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#import
SyntaxErrorhttps://python.github.io/python-docs-zh-tw/library/exceptions.html#SyntaxError
fromhttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#from
Package Relative Importshttps://python.github.io/python-docs-zh-tw/reference/import.html#relativeimports
importlib.import_module()https://python.github.io/python-docs-zh-tw/library/importlib.html#importlib.import_module
稽核事件https://python.github.io/python-docs-zh-tw/library/sys.html#auditing
https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#future-statements
featurehttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#grammar-token-python-grammar-feature
identifierhttps://python.github.io/python-docs-zh-tw/reference/lexical_analysis.html#grammar-token-python-grammar-identifier
featurehttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#grammar-token-python-grammar-feature
identifierhttps://python.github.io/python-docs-zh-tw/reference/lexical_analysis.html#grammar-token-python-grammar-identifier
featurehttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#grammar-token-python-grammar-feature
identifierhttps://python.github.io/python-docs-zh-tw/reference/lexical_analysis.html#grammar-token-python-grammar-identifier
featurehttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#grammar-token-python-grammar-feature
identifierhttps://python.github.io/python-docs-zh-tw/reference/lexical_analysis.html#grammar-token-python-grammar-identifier
identifierhttps://python.github.io/python-docs-zh-tw/reference/lexical_analysis.html#grammar-token-python-grammar-identifier
PEP 563https://peps.python.org/pep-0563/
__future__https://python.github.io/python-docs-zh-tw/library/__future__.html#module-__future__
exec()https://python.github.io/python-docs-zh-tw/library/functions.html#exec
compile()https://python.github.io/python-docs-zh-tw/library/functions.html#compile
compile()https://python.github.io/python-docs-zh-tw/library/functions.html#compile
-ihttps://python.github.io/python-docs-zh-tw/using/cmdline.html#cmdoption-i
PEP 236https://peps.python.org/pep-0236/
https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#the-global-statement
identifierhttps://python.github.io/python-docs-zh-tw/reference/lexical_analysis.html#grammar-token-python-grammar-identifier
identifierhttps://python.github.io/python-docs-zh-tw/reference/lexical_analysis.html#grammar-token-python-grammar-identifier
globalhttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#global
SyntaxErrorhttps://python.github.io/python-docs-zh-tw/library/exceptions.html#SyntaxError
REPLhttps://python.github.io/python-docs-zh-tw/glossary.html#term-REPL
globalhttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#global
exec()https://python.github.io/python-docs-zh-tw/library/functions.html#exec
eval()https://python.github.io/python-docs-zh-tw/library/functions.html#eval
compile()https://python.github.io/python-docs-zh-tw/library/functions.html#compile
https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#the-nonlocal-statement
identifierhttps://python.github.io/python-docs-zh-tw/reference/lexical_analysis.html#grammar-token-python-grammar-identifier
identifierhttps://python.github.io/python-docs-zh-tw/reference/lexical_analysis.html#grammar-token-python-grammar-identifier
nonlocalhttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#nonlocal
SyntaxErrorhttps://python.github.io/python-docs-zh-tw/library/exceptions.html#SyntaxError
nonlocalhttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#nonlocal
SyntaxErrorhttps://python.github.io/python-docs-zh-tw/library/exceptions.html#SyntaxError
PEP 3104https://peps.python.org/pep-3104/
nonlocalhttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#nonlocal
nonlocalhttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#nonlocal
globalhttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#global
https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#the-type-statement
identifierhttps://python.github.io/python-docs-zh-tw/reference/lexical_analysis.html#grammar-token-python-grammar-identifier
type_paramshttps://python.github.io/python-docs-zh-tw/reference/compound_stmts.html#grammar-token-python-grammar-type_params
expressionhttps://python.github.io/python-docs-zh-tw/reference/expressions.html#grammar-token-python-grammar-expression
typing.TypeAliasTypehttps://python.github.io/python-docs-zh-tw/library/typing.html#typing.TypeAliasType
annotation scopehttps://python.github.io/python-docs-zh-tw/reference/executionmodel.html#annotation-scopes
Lazy evaluationhttps://python.github.io/python-docs-zh-tw/reference/executionmodel.html#lazy-evaluation
type parameter listhttps://python.github.io/python-docs-zh-tw/reference/compound_stmts.html#type-params
Generic type aliaseshttps://python.github.io/python-docs-zh-tw/reference/compound_stmts.html#generic-type-aliases
soft keywordhttps://python.github.io/python-docs-zh-tw/reference/lexical_analysis.html#soft-keywords
PEP 695https://peps.python.org/pep-0695/
目錄https://python.github.io/python-docs-zh-tw/contents.html
7. 簡單陳述式https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html
7.1. Expression statementshttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#expression-statements
7.2. Assignment statementshttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#assignment-statements
7.2.1. 擴增賦值陳述式https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#augmented-assignment-statements
7.2.2. 註釋賦值陳述式https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#annotated-assignment-statements
7.3. assert 陳述式https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#the-assert-statement
7.4. pass 陳述式https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#the-pass-statement
7.5. del 陳述式https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#the-del-statement
7.6. return 陳述式https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#the-return-statement
7.7. yield 陳述式https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#the-yield-statement
7.8. raise 陳述式https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#the-raise-statement
7.9. break 陳述式https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#the-break-statement
7.10. continue 陳述式https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#the-continue-statement
7.11. import 陳述式https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#the-import-statement
7.11.1. Future statementshttps://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#future-statements
7.12. global 陳述式https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#the-global-statement
7.13. nonlocal 陳述式https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#the-nonlocal-statement
7.14. type 陳述式https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html#the-type-statement
6. 運算式https://python.github.io/python-docs-zh-tw/reference/expressions.html
8. 複合陳述式https://python.github.io/python-docs-zh-tw/reference/compound_stmts.html
回報錯誤https://python.github.io/python-docs-zh-tw/bugs.html
顯示原始碼 https://github.com/python/cpython/blob/main/Doc/reference/simple_stmts.rst?plain=1
索引https://python.github.io/python-docs-zh-tw/genindex.html
模組https://python.github.io/python-docs-zh-tw/py-modindex.html
下一頁https://python.github.io/python-docs-zh-tw/reference/compound_stmts.html
上一頁https://python.github.io/python-docs-zh-tw/reference/expressions.html
Pythonhttps://www.python.org/
3.14.0 Documentationhttps://python.github.io/python-docs-zh-tw/index.html
Python 語言參考手冊https://python.github.io/python-docs-zh-tw/reference/index.html
7. 簡單陳述式https://python.github.io/python-docs-zh-tw/reference/simple_stmts.html
版權所有https://python.github.io/python-docs-zh-tw/copyright.html
歷史與授權條款https://python.github.io/license.html
敬請捐贈。https://www.python.org/psf/donations/
發現 bughttps://python.github.io/bugs.html
Sphinxhttps://www.sphinx-doc.org/

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.