June 13, 2018
1:04 a.m.
On Tue, Jun 12, 2018 at 4:43 PM Mikhail V <mikhailwas@gmail.com> wrote:
inserting in the beginning of the list may be also not rare.
Inserting in the beginning of a list is *slow* and should be rare. If you want to append to the left-side of a list, you should use a deque. Check out ``collections.deque`` for your insert(0, x) needs.