AIDevHub

Practice

Python Interview Questions

Tap a question to reveal the answer. Filter by level.

  • Lists are mutable and use []; tuples are immutable and use (). Tuples are hashable (if their items are) so they can be dict keys, and are slightly faster and smaller.