tuple tuple
- understanding
Tuple is a data storage
But, it is locked data storage
- E.g
List of states of the students in the class
At the time of enrollment. . .
In the classes in time. . .
- and so
Tuple is the meaning of existence
Ensure the stability of data, data security
Features of the tuple
- The same point list
- Ordered container
- You can iterate through
- Unlike point list
- You can not modify the contents of the container
- Less operation
Operation tuple
- Create an empty tuple
- Create a one-element tuple note here
- The value tuples
- Unpacking tuples
- The method of tuples
- Traversing the tuple
- Tuple conversion between the list (clear why turn)
Operation drill tuple
- To achieve the above operation