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

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