Jul-31-2021, 11:23 AM
You're going to need to be clearer about what you mean. There are two loops there, not four. Trace through execution of the program by hand, writing down the values of the variables as you go. That will help you understand what's going on. You can also add extra calls to
print
to see what the values are.