In this page you learn about of python tuples are easy and most simple to implement in Python.A tuple is a grouping of unchanging articles, consequently tuple can't be changed. The items are encased inside of bracket and isolated by comma. Tuple is like rundown. Just the distinction is that rundown is encased between square section, tuple in the middle of bracket and List have variable articles while Tuple have permanent items.
Different Operations can be performed on Tuple. Operations performed on Tuple are given as:
There are following in-built Type Functions:
|min(tuple)||Returns the minimum value from a tuple.|
|max(tuple)||Returns the maximum value from the tuple.|
|len(tuple)||Gives the length of a tuple|
|cmp(tuple1,tuple2)||Compares the two Tuples.|
|tuple(sequence)||Converts the sequence into tuple.|