Ask Question

What is the primary difference between a list and a tuple?

+4
Answers (2)
  1. 30 July, 07:17
    0
    The main difference is memory usage when you are trying to apprehend an item.
  2. 30 July, 07:27
    0
    List is mutable and tuples is immutable. The main difference between mutable and immutable is memory usage when you are trying to append an item. When you create a variable, some fixed memory is assigned to the variable. If it is a list, more memory is assigned than actually used
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “What is the primary difference between a list and a tuple? ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers