Difference between revisions of "Python list structure"
Jump to navigation
Jump to search
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
https://docs.python.org/3/tutorial/datastructures.html | https://docs.python.org/3/tutorial/datastructures.html | ||
+ | |||
+ | your_list = [] | ||
+ | your_list = [3, 4, 5] | ||
+ | your_fruit_list = ['orange', 'apple', 'banana'] | ||
− | your_list | + | your_list.pop() |
− | list.append | + | [[Methods]]: |
− | list.insert | + | list.[[append]] |
− | list.pop | + | list.[[insert]] |
+ | list.[[pop]] | ||
.../... | .../... | ||
== Related == | == Related == | ||
* [[Stack]]: [[FIFO]], [[LIFO]] | * [[Stack]]: [[FIFO]], [[LIFO]] | ||
+ | * [[Dictionary]] | ||
+ | * [[Set]] | ||
+ | * [[Python array structure]] | ||
+ | * [[Linked list]] | ||
== See also == | == See also == | ||
+ | * {{list}} | ||
* {{Python}} | * {{Python}} | ||
[[Category:Python]] | [[Category:Python]] |
Latest revision as of 05:05, 13 November 2024
https://docs.python.org/3/tutorial/datastructures.html
your_list = [] your_list = [3, 4, 5] your_fruit_list = ['orange', 'apple', 'banana']
your_list.pop()
list.append list.insert list.pop .../...
Related[edit]
See also[edit]
- List, linked list, Python list structure
- Python, PIP, GIL, Flask, Django, Marshmallow,
def
, logging, Pandas, Numpy, AWS Chalice,import
,from
,tuple
,list
, Python exceptions,virtualenv
,.append
,pytz
,TZ
,print
,python3 -c
,os
, PEP, Python Institute, Methods: Dunder methods, Flake8, Python collections, Function decorators in Python, Click python library, Python module, Flower,kwargs
, Black (Python), Python list structure, Mypy,variables
, Casting,try:
, pydoc, argparse, Anaconda,pyenv, setup.py, python3 --version, python3 --help
, Data Classes, raise
Advertising: