Loops or Iterations in Python

preview_player
Показать описание
while loop:
While loop executes repeatedly the block of code until the condition becomes false.

break statement:
break statement is used to end or terminate the loop.

for loop:
for loop is used to iterate or repeat executing the same block of code with a known number of times.

Blog Post:
Рекомендации по теме
visit shbcf.ru