Turing Interview Question

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

Interview Answer

Anonymous

Jun 2, 2025

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