Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

difference between set and tuple in python

Lists and tuples are standard Python data types that store values in a sequence. Sets are another standard Python data type that also store values. The major difference is that sets, unlike lists or tuples, cannot have multiple occurrences of the same element and store unordered values.
 
PREVIOUS NEXT
Tagged: #difference #set #tuple #python
ADD COMMENT
Topic
Name
6+4 =