0
Inner for loop how its work please Explain in this program
https://sololearn.com/compiler-playground/cSg5xKsJAF4e/?ref=app
5 Réponses
+ 3
You might have an easier time understanding the code if you increased the readability. That's what spacing and indentation add.
You can check what the inner loops are doing by changing the for loops with different numbers, comment out the outer loops (and maybe the request for input).
+ 3
Yeva👩💻Coder ,
An inner loop completes all of its iterations for each iteration of the outer loop.
+ 2
Yeva👩💻Coder ,
Here's a tiny nested loops demo in Python. The principle is the same in any language.
https://sololearn.com/compiler-playground/cMrAK3XILhD3/?ref=app
+ 1
Try My Original Pattern See Code
---->>> TRY : https://www.sololearn.com/en/compiler-playground/cG2LJM8g9Wj2
+ 1
Code With Nouman that's my better, nice comments too!