#This is to understand the conept of tuples as used in python.
#Tuple is a type of data structure, with indexing starting from 0.

##Creating x,y coord using Tuples
coordinates =(4,5)
print(coordinates[1])
#A tuple is immutable, meaning it cannot be changed or modified.
#ie, once a tuple is created, it cannot be modified. Thus the command
# coordinate[1]=6 
#will give na error

##Creating a list of tuples and printing out 2nd tuple from the list
##and first element of that tuple.
coordinates_list =[(4,5),(6,7), (80,34)]
print(coordinates_list[1][0])
