Categories

Dec 19, 2019 in Python

Q: What Is A Tuple In Python?

1 Answer

Dec 19, 2019
A tuple is a collection type data structure in Python which is immutable.

They are similar to sequences, just like the lists. However, There are some differences between a tuple and list; the former doesn’t allow modifications whereas the list does.

Also, the tuples use parentheses for enclosing, but the lists have square brackets in their syntax.
Click here to read more about Python
Click here to read more about Insurance

Related questions

Madanswer
Aug 29 in Python
Oct 30, 2019 in DBMS
Aug 29 in Python
...