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

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