Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

what is the difference between tuples and lists in python

The main differnce between Tuples and list is that items from lists 
can be modified I could add or delete items from a list. 
I could modify the list in any sort of way I would want, however, 
at Tuples you can not add or delete items. Tuples are immutable, people 
use tuples for data that is never going to be changed.
 
PREVIOUS NEXT
Tagged: #difference #tuples #lists #python
ADD COMMENT
Topic
Name
4+2 =