Dec-20-2022, 05:09 AM
(This post was last modified: Dec-20-2022, 06:01 PM by Yoriz.
Edit Reason: Title
)
What is the difference between list and tuples in Python?
What is the difference between list and tuples in Python?
|
Dec-20-2022, 05:09 AM
(This post was last modified: Dec-20-2022, 06:01 PM by Yoriz.
Edit Reason: Title
)
What is the difference between list and tuples in Python?
Dec-20-2022, 11:08 AM
Lists and tuples have much in common, but the big difference is: a list is mutable. A tuple is not, you cannot modify a tuple after creation.
Read this: https://docs.python.org/3/tutorial/datastructures.html |
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
About List & Tuples | MilesWeb | 4 | 33,132 |
Oct-09-2021, 11:01 AM Last Post: perfringo |
|
strange difference between list() and tuple() using iter() | Skaperen | 1 | 2,416 |
Nov-01-2020, 06:49 AM Last Post: buran |