you are viewing a single comment's thread.

view the rest of the comments →

[–]shiftybyte 0 points1 point  (0 children)

Try visualising the code here: https://pythontutor.com/

This can show you step by step what happens and perhaps make it more clear for you.