From ef602faaad8c1872b3f0a5bb7690601626e26b6d Mon Sep 17 00:00:00 2001 From: Shubham1201 <57521325+Shubham1201@users.noreply.github.com> Date: Thu, 1 Oct 2020 19:40:57 +0530 Subject: [PATCH] Update 09-nested-loops.py --- beginner_python/09-nested-loops.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/beginner_python/09-nested-loops.py b/beginner_python/09-nested-loops.py index 597833c..86abdb9 100644 --- a/beginner_python/09-nested-loops.py +++ b/beginner_python/09-nested-loops.py @@ -3,6 +3,9 @@ #The previous section had this loop. #The only thing we did was print j and a new line. + +# nested loop means you can use the loop in side any other loop. means loop in loop for beter understend read this. + for i in range(4): for j in range(5): print(j, end=" ") @@ -129,4 +132,4 @@ sum += j j -= 1 print(sum) - i -= 1 \ No newline at end of file + i -= 1