Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

while loop in python

# while loop runs till the condition becomes false
number = 0
while number > 10:		# prints number till 10
  print(number)
  number += 1
  
 
PREVIOUS NEXT
Tagged: #loop #python
ADD COMMENT
Topic
Name
1+2 =