python data structures tuple is sequence of immutable python objectsjust like lists the differences between tuples and lists arethe tuples cannot be changed unlike lists and tuples use parentheseswhereas lists use square brackets creating tuple is as simple as putting different comma-separated values optionallyyou can put these comma-separated values between parentheses also for exampletup ('physics''chemistry' )tup ( )tup " "" "" "" "the empty tuple is written as two parentheses containing nothing tup ()to write tuple containing single valueyou have to include comma even thoughthere is only one value tup ( ,)like string indicestuple indices start at and they can be slicedconcatenatedand so on accessing values in tuples to access values in tupleuse the square brackets for slicing along with the index or indices to obtain value available at that index for example#!/usr/bin/python tup ('physics''chemistry' )tup ( )print "tup [ ]"tup [ ]print "tup [ : ]"tup [ : ]when the above code is executedit produces the following resulttup [ ]tup [ : ]physics [