Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

what does tuple mean in python

Tuples Definition:
Tuples are used to store multiple items in a single variable. 
A tuple is a collection that is ordered and unchangeable.

There are 4 built-in data types:
-->Tuples
-->List
-->Set
-->Dictionary

Example of a Tuple:
coordinates = [(4,5), (6,7), (80,34)] 
#Coordinates are a very common example of a tuple
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #tuple #python
ADD COMMENT
Topic
Name
4+6 =