Home > other >  Python, loop statement
Python, loop statement

Time:10-05

In daily life, many problems cannot be resolved, is generally going to repeat to do, like doing the same thing over and over again is called cycle, cycle there are two main types of
1. Repeat the cycle of a certain number of times, called would cycle, such as for loop
2. Repeat until the conditions are not satisfied to the end of the cycle, cycle called conditions,
The while loop
The while loop is a condition to control whether to continue to perform in the loop body statements,
The following syntax

CodePudding user response:

Much good learned

CodePudding user response:

reference 1st floor Jaryy response:
badly ill learn

Beginner's white, still hope a lot of directions,

CodePudding user response:

Is a severe, avenue to Jane.