Question:

What is the difference between list and tuple?

Answer:

The difference between list and tuple is that list is mutable while tuple is not. Tuple can be hashed for e.g as a key for dictionaries.


Keywords:

© 2017 QuizBucket.org