4 ms·
Yes! thank you! This helped a lot for understanding the behavior of list vs other values, for example: http://www.pythontutor.com/visualize.html#code=a%20%3D%
by krispbyte 8y ago
Yes! thank you!
This helped a lot for understanding the behavior of list vs other values, for example:
http://www.pythontutor.com/visualize.html#code=a%20%3D%204%0Ab%20%3D%20a%0Aa%20%3D%2010%0Aprint%28a,%20b%29%0A%0At%20%3D%20%5B1,2,3%5D%0As%20%3D%20t%0At.append%284%29%0Aprint%28t,%20s%29&cumulative=false&curInstr=0&heapPrimitives=nevernest&mode=display&origin=opt-frontend.js&py=3&rawInputLstJSON=%5B%5D&textReferences=false http://www.pythontutor.com/visualize.html#code=a%20%3D%204%0...
I think it would do wonders for ownership.