filmov
tv
Python Tutorial Beginners - Nested Loops

Показать описание
In terms of Programming Language, a Loop is a set of instructions with conditions which is run again and again until the condition is false. A for loop is used whenever you want to iterate (or step) through a sequence (set of items). In simple terms a 'for' loop repeats the same set of instructions, one by one until it reaches the last iteration (the last step). For example, if you were told to speak (or iterate in programming) "hello" five times, each time you say "hello" would be one iteration. Nested loops mean loop within the loop. Nested loops are sometimes referred to as outer loops and inner loops.