my_list[ my_list out[ ][ truein order to extend list one can either append in [ ]my_list append( my_list out[ ][ true or simply in [ ]my_list [ ' 'out[ ][ true ' 'or append elements in ]my_list +[ my_list in ]my_list my_list [ one shall not do that my_list be careful with the last assignmentthis creates new listso need to perfom copy very inefficient for large lists how to append list at the endin [ ]my_list append([ ' ']my_list out[ ][ true [ ' ']this adds list as an elementwhich is not quite what we wanted in [ ]my_list extend([ ]my_list out[ ][ true [ ' '] ' ' ' '[ ]' '