Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Python while loop

number = 1
while number != 5:	# While statement is true
  # Do this
  print(number)
  number += 1
Source by www.codegrepper.com #
 
PREVIOUS NEXT
Tagged: #Python #loop
ADD COMMENT
Topic
Name
3+4 =