Schrödinger Interview Question

How do you keep track of your code? How do you create a dictionary with python?