0

What is nested loop

22nd May 2018, 2:19 AM
Dinesh Nayak
2 Antworten
+ 3
A loop inside another loop.
22nd May 2018, 2:28 AM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
0
A loop inside of a loop. Example: for i in range(4): for j in range(4): print("Hello World!") That would print "Hello World!" 16 times.
22nd May 2018, 6:54 AM
Paul Grasser
Paul Grasser - avatar