filmov
tv
What is While Statement in Python | Control Flow Statements
Показать описание
3 things to remember while using while loops:
1. Initialization eg: i=0 or i=1
2. Condition eg: while i!=7:
3. Increment/Decrement eg: i+=1 or i-=1
1. Initialization eg: i=0 or i=1
2. Condition eg: while i!=7:
3. Increment/Decrement eg: i+=1 or i-=1