list __setitem__(selfindexvaluex mylist([' '' '' ']__init__(inherited from builtin list print(x__repr__(inherited from builtin list append('hello')append(inherited from builtin list print( [ ]' (mylist __getitem__ cutomizes list superclass method index is but reflects print ( [ ]'hello(index is but reflects output [' '' '' ' hello in above examplewe set three item list in mylist and implicitly __init__ method is called and when we print the element xwe get the three item list ([' ',' ',' ']then we append another element to this list later we ask for index and index but if you see the outputwe are getting element from the (index- what we have asked for as we know list indexing start from but here the indexing start from (that' why we are getting the first item of the listnaming conventions in this we will look into names we'll used for variables especially private variables and conventions used by python programmers worldwide although variables are designated as private but there is not privacy in python and this by design like any other well documented languagespython has naming and style conventions that it promote although it doesn' enforce them there is style guide written by "guido van rossumthe originator of pythonthat describe the best practices and use of name and is called pep here is the link for thispep stands for python enhancement proposal and is series of documentation that distributed among the python community to discuss proposed changes for example it is recommended all