ojomooluwatolami...@gmail.com wrote at 2022-8-5 08:34 +0100: >Hello, I’m new to learning python and I stumbled upon a question nested loops.
For future, more complex, questions of this kind, you might have a look at the module `pdb` in Python's runtime library. It implements a debugger which allows you (among other features) to interactively run a program line by line and explore the state of all involved variables. There are also IDEs (= Integrated Development Environments) which support this. Whenever a program does things you do not understand, debugging usually helps to bring light into the scene. -- https://mail.python.org/mailman/listinfo/python-list