Frage im Vorstellungsgespräch bei Turing

What is the difference between an array and a tuple in python?

Antwort im Vorstellungsgespräch

Anonym

2. Juni 2025

List (array): mutable sequence [] for dynamic data. Tuple: immutable sequence () for fixed data, faster, hashable.