René's URL Explorer Experiment


Title: 4. More Control Flow Tools — Python 3.15.0a5 documentation

Open Graph Title: 4. More Control Flow Tools

Description: As well as the while statement just introduced, Python uses a few more that we will encounter in this chapter. if Statements: Perhaps the most well-known statement type is the if statement. For exa...

Open Graph Description: As well as the while statement just introduced, Python uses a few more that we will encounter in this chapter. if Statements: Perhaps the most well-known statement type is the if statement. For exa...

Opengraph URL: https://docs.python.org/3/tutorial/controlflow.html

direct link

Domain: docs.python.org

og:typewebsite
og:site_namePython documentation
og:image:width1146
og:image:height600
og:imagehttps://docs.python.org/3.15/_images/social_previews/summary_tutorial_controlflow_a44c5fc7.png
og:image:altAs well as the while statement just introduced, Python uses a few more that we will encounter in this chapter. if Statements: Perhaps the most well-known statement type is the if statement. For exa...
twitter:cardsummary_large_image
theme-color#3776ab
readthedocs-addons-api-version1

Links:

https://www.python.org/
Table of Contentshttps://docs.python.org/dev/contents.html
4. More Control Flow Toolshttps://docs.python.org/dev/tutorial/controlflow.html
4.1. if Statementshttps://docs.python.org/dev/tutorial/controlflow.html#if-statements
4.2. for Statementshttps://docs.python.org/dev/tutorial/controlflow.html#for-statements
4.3. The range() Functionhttps://docs.python.org/dev/tutorial/controlflow.html#the-range-function
4.4. break and continue Statementshttps://docs.python.org/dev/tutorial/controlflow.html#break-and-continue-statements
4.5. else Clauses on Loopshttps://docs.python.org/dev/tutorial/controlflow.html#else-clauses-on-loops
4.6. pass Statementshttps://docs.python.org/dev/tutorial/controlflow.html#pass-statements
4.7. match Statementshttps://docs.python.org/dev/tutorial/controlflow.html#match-statements
4.8. Defining Functionshttps://docs.python.org/dev/tutorial/controlflow.html#defining-functions
4.9. More on Defining Functionshttps://docs.python.org/dev/tutorial/controlflow.html#more-on-defining-functions
4.9.1. Default Argument Valueshttps://docs.python.org/dev/tutorial/controlflow.html#default-argument-values
4.9.2. Keyword Argumentshttps://docs.python.org/dev/tutorial/controlflow.html#keyword-arguments
4.9.3. Special parametershttps://docs.python.org/dev/tutorial/controlflow.html#special-parameters
4.9.3.1. Positional-or-Keyword Argumentshttps://docs.python.org/dev/tutorial/controlflow.html#positional-or-keyword-arguments
4.9.3.2. Positional-Only Parametershttps://docs.python.org/dev/tutorial/controlflow.html#positional-only-parameters
4.9.3.3. Keyword-Only Argumentshttps://docs.python.org/dev/tutorial/controlflow.html#keyword-only-arguments
4.9.3.4. Function Exampleshttps://docs.python.org/dev/tutorial/controlflow.html#function-examples
4.9.3.5. Recaphttps://docs.python.org/dev/tutorial/controlflow.html#recap
4.9.4. Arbitrary Argument Listshttps://docs.python.org/dev/tutorial/controlflow.html#arbitrary-argument-lists
4.9.5. Unpacking Argument Listshttps://docs.python.org/dev/tutorial/controlflow.html#unpacking-argument-lists
4.9.6. Lambda Expressionshttps://docs.python.org/dev/tutorial/controlflow.html#lambda-expressions
4.9.7. Documentation Stringshttps://docs.python.org/dev/tutorial/controlflow.html#documentation-strings
4.9.8. Function Annotationshttps://docs.python.org/dev/tutorial/controlflow.html#function-annotations
4.10. Intermezzo: Coding Stylehttps://docs.python.org/dev/tutorial/controlflow.html#intermezzo-coding-style
3. An Informal Introduction to Pythonhttps://docs.python.org/dev/tutorial/introduction.html
5. Data Structureshttps://docs.python.org/dev/tutorial/datastructures.html
Report a bughttps://docs.python.org/dev/bugs.html
Show source https://github.com/python/cpython/blob/main/Doc/tutorial/controlflow.rst?plain=1
indexhttps://docs.python.org/dev/genindex.html
moduleshttps://docs.python.org/dev/py-modindex.html
nexthttps://docs.python.org/dev/tutorial/datastructures.html
previoushttps://docs.python.org/dev/tutorial/introduction.html
Pythonhttps://www.python.org/
3.15.0a5 Documentationhttps://docs.python.org/dev/index.html
The Python Tutorialhttps://docs.python.org/dev/tutorial/index.html
4. More Control Flow Toolshttps://docs.python.org/dev/tutorial/controlflow.html
https://docs.python.org/dev/tutorial/controlflow.html#more-control-flow-tools
whilehttps://docs.python.org/dev/reference/compound_stmts.html#while
https://docs.python.org/dev/tutorial/controlflow.html#if-statements
ifhttps://docs.python.org/dev/reference/compound_stmts.html#if
elifhttps://docs.python.org/dev/reference/compound_stmts.html#elif
elsehttps://docs.python.org/dev/reference/compound_stmts.html#else
match Statementshttps://docs.python.org/dev/tutorial/controlflow.html#tut-match
https://docs.python.org/dev/tutorial/controlflow.html#for-statements
forhttps://docs.python.org/dev/reference/compound_stmts.html#for
range()https://docs.python.org/dev/library/stdtypes.html#range
https://docs.python.org/dev/tutorial/controlflow.html#the-range-function
range()https://docs.python.org/dev/library/stdtypes.html#range
range()https://docs.python.org/dev/library/stdtypes.html#range
len()https://docs.python.org/dev/library/functions.html#len
enumerate()https://docs.python.org/dev/library/functions.html#enumerate
Looping Techniqueshttps://docs.python.org/dev/tutorial/datastructures.html#tut-loopidioms
range()https://docs.python.org/dev/library/stdtypes.html#range
iterablehttps://docs.python.org/dev/glossary.html#term-iterable
forhttps://docs.python.org/dev/reference/compound_stmts.html#for
sum()https://docs.python.org/dev/library/functions.html#sum
Data Structureshttps://docs.python.org/dev/tutorial/datastructures.html#tut-structures
list()https://docs.python.org/dev/library/stdtypes.html#list
https://docs.python.org/dev/tutorial/controlflow.html#break-and-continue-statements
breakhttps://docs.python.org/dev/reference/simple_stmts.html#break
forhttps://docs.python.org/dev/reference/compound_stmts.html#for
whilehttps://docs.python.org/dev/reference/compound_stmts.html#while
continuehttps://docs.python.org/dev/reference/simple_stmts.html#continue
https://docs.python.org/dev/tutorial/controlflow.html#else-clauses-on-loops
forhttps://docs.python.org/dev/reference/compound_stmts.html#for
whilehttps://docs.python.org/dev/reference/compound_stmts.html#while
breakhttps://docs.python.org/dev/reference/simple_stmts.html#break
returnhttps://docs.python.org/dev/reference/simple_stmts.html#return
elsehttps://docs.python.org/dev/reference/compound_stmts.html#else
tryhttps://docs.python.org/dev/reference/compound_stmts.html#try
Handling Exceptionshttps://docs.python.org/dev/tutorial/errors.html#tut-handling
https://docs.python.org/dev/tutorial/controlflow.html#pass-statements
passhttps://docs.python.org/dev/reference/simple_stmts.html#pass
passhttps://docs.python.org/dev/reference/simple_stmts.html#pass
The Ellipsis Objecthttps://docs.python.org/dev/library/stdtypes.html#bltin-ellipsis-object
https://docs.python.org/dev/tutorial/controlflow.html#match-statements
matchhttps://docs.python.org/dev/reference/compound_stmts.html#match
PEP 636https://peps.python.org/pep-0636/
https://docs.python.org/dev/tutorial/controlflow.html#defining-functions
defhttps://docs.python.org/dev/reference/compound_stmts.html#def
Documentation Stringshttps://docs.python.org/dev/tutorial/controlflow.html#tut-docstrings
globalhttps://docs.python.org/dev/reference/simple_stmts.html#global
nonlocalhttps://docs.python.org/dev/reference/simple_stmts.html#nonlocal
[1]https://docs.python.org/dev/tutorial/controlflow.html#id2
returnhttps://docs.python.org/dev/reference/simple_stmts.html#return
print()https://docs.python.org/dev/library/functions.html#print
returnhttps://docs.python.org/dev/reference/simple_stmts.html#return
Classeshttps://docs.python.org/dev/tutorial/classes.html#tut-classes
append()https://docs.python.org/dev/library/stdtypes.html#list.append
https://docs.python.org/dev/tutorial/controlflow.html#more-on-defining-functions
https://docs.python.org/dev/tutorial/controlflow.html#default-argument-values
inhttps://docs.python.org/dev/reference/expressions.html#in
https://docs.python.org/dev/tutorial/controlflow.html#keyword-arguments
keyword argumentshttps://docs.python.org/dev/glossary.html#term-keyword-argument
Mapping Types — dicthttps://docs.python.org/dev/library/stdtypes.html#typesmapping
tuplehttps://docs.python.org/dev/tutorial/datastructures.html#tut-tuples
https://docs.python.org/dev/tutorial/controlflow.html#special-parameters
https://docs.python.org/dev/tutorial/controlflow.html#positional-or-keyword-arguments
https://docs.python.org/dev/tutorial/controlflow.html#positional-only-parameters
https://docs.python.org/dev/tutorial/controlflow.html#keyword-only-arguments
https://docs.python.org/dev/tutorial/controlflow.html#function-examples
https://docs.python.org/dev/tutorial/controlflow.html#recap
https://docs.python.org/dev/tutorial/controlflow.html#arbitrary-argument-lists
Tuples and Sequenceshttps://docs.python.org/dev/tutorial/datastructures.html#tut-tuples
https://docs.python.org/dev/tutorial/controlflow.html#unpacking-argument-lists
range()https://docs.python.org/dev/library/stdtypes.html#range
https://docs.python.org/dev/tutorial/controlflow.html#lambda-expressions
lambdahttps://docs.python.org/dev/reference/expressions.html#lambda
list.sort()https://docs.python.org/dev/library/stdtypes.html#list.sort
https://docs.python.org/dev/tutorial/controlflow.html#documentation-strings
https://docs.python.org/dev/tutorial/controlflow.html#function-annotations
Function annotationshttps://docs.python.org/dev/reference/compound_stmts.html#function
PEP 3107https://peps.python.org/pep-3107/
PEP 484https://peps.python.org/pep-0484/
Annotationshttps://docs.python.org/dev/glossary.html#term-function-annotation
__annotations__https://docs.python.org/dev/reference/datamodel.html#object.__annotations__
defhttps://docs.python.org/dev/reference/compound_stmts.html#def
https://docs.python.org/dev/tutorial/controlflow.html#intermezzo-coding-style
PEP 8https://peps.python.org/pep-0008/
A First Look at Classeshttps://docs.python.org/dev/tutorial/classes.html#tut-firstclasses
1https://docs.python.org/dev/tutorial/controlflow.html#id1
Table of Contentshttps://docs.python.org/dev/contents.html
4. More Control Flow Toolshttps://docs.python.org/dev/tutorial/controlflow.html
4.1. if Statementshttps://docs.python.org/dev/tutorial/controlflow.html#if-statements
4.2. for Statementshttps://docs.python.org/dev/tutorial/controlflow.html#for-statements
4.3. The range() Functionhttps://docs.python.org/dev/tutorial/controlflow.html#the-range-function
4.4. break and continue Statementshttps://docs.python.org/dev/tutorial/controlflow.html#break-and-continue-statements
4.5. else Clauses on Loopshttps://docs.python.org/dev/tutorial/controlflow.html#else-clauses-on-loops
4.6. pass Statementshttps://docs.python.org/dev/tutorial/controlflow.html#pass-statements
4.7. match Statementshttps://docs.python.org/dev/tutorial/controlflow.html#match-statements
4.8. Defining Functionshttps://docs.python.org/dev/tutorial/controlflow.html#defining-functions
4.9. More on Defining Functionshttps://docs.python.org/dev/tutorial/controlflow.html#more-on-defining-functions
4.9.1. Default Argument Valueshttps://docs.python.org/dev/tutorial/controlflow.html#default-argument-values
4.9.2. Keyword Argumentshttps://docs.python.org/dev/tutorial/controlflow.html#keyword-arguments
4.9.3. Special parametershttps://docs.python.org/dev/tutorial/controlflow.html#special-parameters
4.9.3.1. Positional-or-Keyword Argumentshttps://docs.python.org/dev/tutorial/controlflow.html#positional-or-keyword-arguments
4.9.3.2. Positional-Only Parametershttps://docs.python.org/dev/tutorial/controlflow.html#positional-only-parameters
4.9.3.3. Keyword-Only Argumentshttps://docs.python.org/dev/tutorial/controlflow.html#keyword-only-arguments
4.9.3.4. Function Exampleshttps://docs.python.org/dev/tutorial/controlflow.html#function-examples
4.9.3.5. Recaphttps://docs.python.org/dev/tutorial/controlflow.html#recap
4.9.4. Arbitrary Argument Listshttps://docs.python.org/dev/tutorial/controlflow.html#arbitrary-argument-lists
4.9.5. Unpacking Argument Listshttps://docs.python.org/dev/tutorial/controlflow.html#unpacking-argument-lists
4.9.6. Lambda Expressionshttps://docs.python.org/dev/tutorial/controlflow.html#lambda-expressions
4.9.7. Documentation Stringshttps://docs.python.org/dev/tutorial/controlflow.html#documentation-strings
4.9.8. Function Annotationshttps://docs.python.org/dev/tutorial/controlflow.html#function-annotations
4.10. Intermezzo: Coding Stylehttps://docs.python.org/dev/tutorial/controlflow.html#intermezzo-coding-style
3. An Informal Introduction to Pythonhttps://docs.python.org/dev/tutorial/introduction.html
5. Data Structureshttps://docs.python.org/dev/tutorial/datastructures.html
Report a bughttps://docs.python.org/dev/bugs.html
Show source https://github.com/python/cpython/blob/main/Doc/tutorial/controlflow.rst?plain=1
indexhttps://docs.python.org/dev/genindex.html
moduleshttps://docs.python.org/dev/py-modindex.html
nexthttps://docs.python.org/dev/tutorial/datastructures.html
previoushttps://docs.python.org/dev/tutorial/introduction.html
Pythonhttps://www.python.org/
3.15.0a5 Documentationhttps://docs.python.org/dev/index.html
The Python Tutorialhttps://docs.python.org/dev/tutorial/index.html
4. More Control Flow Toolshttps://docs.python.org/dev/tutorial/controlflow.html
Copyrighthttps://docs.python.org/dev/copyright.html
History and Licensehttps://docs.python.org/license.html
Please donate.https://www.python.org/psf/donations/
Found a bughttps://docs.python.org/bugs.html
Sphinxhttps://www.sphinx-doc.org/

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


URLs of crawlers that visited me.