I am not able to understand the code used in nested loop, can i get the explanation regarding that?
Nested loop problem
hi @chirag10
loop nesting is that you can put any type of loop inside of any other type of loop. For example a for loop can be inside a while loop or vice versa.
as like any other programming language python also allow us to use nested loop functionality
with simple snytax:
for iterating_var in sequence:
for iterating_var in sequence:
statements(s)
statements(s)