Python nested loop exercise
Look at the following Python code and do not run it.Your task is to determine what number will be printed and explain step by step how the value of total changes during execution.
I’m not interested in speed or guessing. I want to see whether you understand how nested loops execute.
This code is provided by one of our users. It's not official code from Space Python course.
script.py
Loading the Python environment…
Separate arguments with commas. They're passed on every Run as sys.argv[1:].