3 ms·
Try stepping through it in a debugger and pay attention to the values of variables vs. what you think those values should be. Or make every second line be print
by yorwba 1y ago
Try stepping through it in a debugger and pay attention to the values of variables vs. what you think those values should be. Or make every second line be print(locals()) and read the trace.