What is the difference between a list and a tuple in Python, and when would you use each?

Technical