Question d’entretien chez LTIMindtree

What is the difference between list and tuple?

Réponses aux questions d'entretien

Utilisateur anonyme

12 nov. 2024

- **List**: A mutable, ordered collection of elements in Python, defined with square brackets `[]`. - **Tuple**: An immutable, ordered collection of elements in Python, defined with parentheses `()`.

Utilisateur anonyme

8 oct. 2024

List is mutable and tuplw is immutable where list is used for entering name in a column and tuple is used to have id for each person which is didtinct for everyone.

1