Level 1 : What is the difference between a list and a tuple in Python?

Author: IndraD | Tags: list-vs-tuple | 1859+ Python FAQs | Share
objects | syntaxerror | pep | list-method | magic-method | match | methods | operator-overloading | using-join()-and-is_alive()-methods | sorting | precedence | statement | string-slicing | tuple | static-method | walking-through-directories-using-os.walk() | thread | turtle | mathematics | math | max-min | conditional-statements | postfix | floating-point-precision | using-the-threading-module | list-vs-tuple | complex | __init_subclass__ | array | stack | type-conversion | regular-expressions | access-modifier | dictionaries | id-function | interpreter | creating-and-starting-threads | input | conversion | name-mangling | overriding-methods | regular-expression | sorting-and-ranking | datetime | complex-number | command-line-parsing | boolean-and-non-boolean | regex | default-arguments | oop | lambda-function | file-handling | zip-function | directory-operations | error | iterators | yield | higher-order-function | strings | bitwise-operator | dicts | error-handling | sys | slice | dictionary | error-handling | tuples | lambda | sorted | lambda-functions | counter-function | random | raise | indentation | operator-or | expression | thread-synchronization | while-loop | list-slicing | decorator | thread-safe-data-structures-(queue.queue) | descriptors | using-lists-as-stacks | global-variable | arithmetic-expression | recurssion | defining-functions | python-operators | threading | list-comprehensions | immutable-data-type | while-loops | working-with-dates-and-times | introduction-to-threads | matrix-list-comprehension | goto-function | dataframe-and-series-objects | design-principle | memory | namedtuple | list | pass | input-function | working-with-file-paths | default-mutable-argument | typeerror | round-function | while-and-for-loop | list-join | control-statement | difference-between-threads-and-processes | working-with-temporary-files-using-tempfile | multithreading | quantifiers-(*,-+,-?,-{}) | raise-statement | random-function | data-type | split | function-and-scope | datetime.date,-datetime.time,-datetime.datetime | list-methods-and-slicing | encoding | string-methods | list-comprehension | string-method | data-types | string-slicing | using-assertions-(assertequal,-assertraises) | staticmethod | head-and-tail | update | virtual-environment | loop-control | identifier | handling-missing-values-(fillna,-dropna) | fabs-function | introduction-to-python | docstring | syntax | tuple-methods | unit-testing | decimal | math-copysign | file-handling | control-flow | package-management | matrix | polymorphism | functions | constructor | floats | binary | zfill-function | mysql | integers | while-else-loop | else | file | test-discovery | filter-function | comprehension | joining-and-merging-dataframes | application | mutable | identity-operator | append | aggregating-data-with-functools.reduce() | type-conversion | key-value-pairs | using-os-and-pathlib-modules | time-series-with-pandas | compute | heap-memory | touples | introduction-to-multiprocessing | data-structures-in-python | counter | comment | context-manager | lists | data-type | multiple-except-blocks | syntax-error | classes | python-module | anchors-(^,-$) | mathematical-function | immutability | inherit | logical-operation | inheritance | basic | reading-and-writing-files | data-structures | writing:-write(),-writelines() | syntax-error | using-else-and-finally | arbitrary-arguments-(*args,-**kwargs) | control-flow | swapping | binary-operation | feature | version-check | data_structure | identity-operators-(is,-is-not) | recursion | boolean-masking | python-repl | function | list-indexing | exception | namespace | round | list-mutation | init | input-function | data-type-conversions | class-and-object | python-syntax-and-structure | bitwise-operator | print-statement | built-in-modules | encapsulation | identity-operator | working-with-binary-files-(rb,-wb) | __future__ | asyncio | slicing | min-max-function | datatype | destructor | class-decorators | keyword | generators-in-python | why-use-multiprocessing-over-threading?-(gil) | for | set-operation | string-iteration | mapping-function | string-method | conditional-statement | oops | built-in-function | center | condition | overflow | list-comprehension | filtering-and-indexing | formatting-with-strftime | deep-copy | escape-operator | scientific-notation | loop-control-statements | library | parameter | copy | functional-programming | global-keyword | string | loops | sys-module | loop | reading:-read(),-readline(),-readlines() | managing-directories-with-os-and-shutil | debugging | memory-management | data-structure | sum-function | multiple-inheritance | creating-custom-modules | logical-operator | method | operator | virtual-environment | operator-and | map-function | type_conversion | zip | conditional-statement | gil | tuple-unpacking | assignment-operators | def | list,-set,-and-dictionary-comprehensions | call | return-statement | import-method | module | literal-characters-and-special-characters | integer | multiple-inheritance | list-operation | indexing | iterator | data-structure | rollback | join | logical-operator | implementation | shallow-copy | nested-loop | object-attribute | bitwise | assignment-operator | single-inheritance | multiprocessing | variable | sum() | lambdas | string-formatting | comparison | matplotlib | min-function | operators | factorial-function | intering | int | dictionary-methods | collections | exponentiation | frozenset | dictionary-comprehensions | expand-tab | set | type-conversion-and-casting | membership-operators-(in,-not-in) | class-and-instance-variable | built-in | formal-and-actual-parameter | logical-operators | benefit | built-in-function | pickling--unpickling | global | format | sets | file_handling | __all__-attribute | python_version | range | advanced-file-operations | odd-number | operand | python-django | class-and-inheritance | boolean | generator | booleans | pseudocode | string-concatenation | string-formatting | assert | class | collection | numeric | choice | numpy | string-manipulation | opening-files-(open()) | invalid-list | version | asyncio-module | iterable | software-design | reading-and-writing-large-files-efficiently | using-yield-in-functions | using-map()-for-transformations | attribute | async | precedence-and-associativity | operations | indexing:-loc-vs-iloc | print | python-history | python | installation | parsing-with-strptime | generators | else-statement | pandas | global-variable | enumerate() | exception-handling | filter | exception-handling | function-argument | functional-programming | method-overloading | arithmetic-operation | with-statement ...