#python #tuples #datastructures
Tuples are light-weight collections used to keep track of related, but different items. Tuples are immutable, meaning that once a tuple has been created, the items in it can’t change.
You might ask, why tuples when Python already has lists? Tuples are different in a few ways. While lists are generally used to store collections of similar items together, tuples, by contrast, can be used to contain a snapshot of data. They can’t be continually changed, added or removed from like you could with a list .
For Training Purpose Call
SK Computer Technologies
Mb: 9444180072 / 9841925321
Website:
Email: skcom2001@
map location: