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

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