figure - this new copy of mytuple contains an additional entry type mytuple mytuple __add__(("yellow"("orange""black"))and press enter this step adds three entriesyelloworangeand black howeverorange and black are added as tuple within the main tuplewhich creates hierarchy these two entries are actually treated as single entry within the main tuple you can replace the __add__(function with the concatenation operator for exampleif you want to add magenta to the front of the tuple listyou type mytuple ("magenta",mytuple type mytuple[ and press enter python displays single member of mytupleorange tuples use indexes to access individual membersjust as lists do you can also specify range when needed anything you can do with list index you can also do with tuple index type mytuple[ and press enter you see tuple that contains orange and black of courseyou might not want to use both members in tuple form tuples do contain hierarchies on regular basis you can detect when an index has returned another tuplerather than valueby testing for type for examplein this caseyou could detect that the sixth item (index contains tuple by typing type(mytuple[ ]=tuple the output would be true in this case