j
k
j a
j l
By the way, I only just realized I can delete a key to demonstrate non-order-preservation on py 3.6. So at least I know what to tell students now.
You can't. dict in Python 3.6 preserves insertion order even after key deletion.
Back to the thread
Back to the list