Q1
What is the difference between a list and a tuple in Python?
easyCorrect Answer: A list is mutable and can be changed after creation, while a tuple is immutable
Explanation:
Because tuples cannot be changed after creation, they are often used for fixed collections of values, such as coordinates, and they can also be used as dictionary keys, which lists cannot because lists are unhashable.