Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Tuple Declaration « Tuple « Python






1.Create an empty tuple
2.A tuple consists of a number of values separated by commasA tuple consists of a number of values separated by commas
3.Empty tuples are constructed by an empty pair of parenthesesEmpty tuples are constructed by an empty pair of parentheses
4.A tuple with one item: a comma A tuple with one item: a comma