Language Delimiters
[ — left bracket
Opens a list display, comprehension or subscription. Its meaning depends on whether an expression precedes it.
Formal Syntax & Structure
python syntaxpython
[Return Value
Not applicable
Grammar token; the enclosing construct determines any result.
Working Example
Example Snippetpython
values = [10, 20, 30]print(values[1])