Does anyone know why Python’s list.append function is not called list.push given that there’s already a list.pop that removes and returns the last element (that indexed at -1) and list.append semantic is consistent with that use?

12 Answers
12

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *