Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

for loop

<?php
	$counter=0;
	for($start=0; $start<11;$start++)
	{
		$counter=$counter+1;
		print $counter."<br>";
	}
//======output=====
/*
1
2
3
4
5
6
7
8
9
10
11
*/
		
?>
Source by www.kdnuggets.com #
 
PREVIOUS NEXT
Tagged: #loop
ADD COMMENT
Topic
Name
1+3 =