Question d’entretien chez Roku

What is the difference between list and tuple?

Réponse à la question d'entretien

Utilisateur anonyme

28 août 2023

A list is a mutable data structure in Python that allows elements to be added, removed, or modified, while a tuple is an immutable data structure where its elements cannot be changed after creation.