Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Python while loop

while (condition):
	print("I keep printing while the condition is True")
else:
	print("I will be written when loop finished. if you use break in loop I won't be executed")
Source by www.codegrepper.com #
 
PREVIOUS NEXT
Tagged: #Python #loop
ADD COMMENT
Topic
Name
3+2 =