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

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