Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

while loop

while(<condition here>)
{
	do this;
    increment or decrement;
}

//number variable must be initilize before run the program
/*
while (number <= 10) 
{
	print(number);
    number++;
}
*/
Source by sites.google.com #
 
PREVIOUS NEXT
Tagged: #loop
ADD COMMENT
Topic
Name
8+5 =