getting-started-with-for/quickref.tex
author bhanu
Thu, 11 Nov 2010 00:22:53 +0530
changeset 473 7eaa550929a1
parent 398 36295bb91766
permissions -rw-r--r--
Language check Done for `getting started with for loop`
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
398
36295bb91766 Added quickrefs for dictionaries, getting started with arrays, for, matrices, other plots, savefig, using python modules.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff changeset
     1
For loop:\\
36295bb91766 Added quickrefs for dictionaries, getting started with arrays, for, matrices, other plots, savefig, using python modules.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff changeset
     2
{\ex \lstinline|    for i in range(1,11,2):|}
36295bb91766 Added quickrefs for dictionaries, getting started with arrays, for, matrices, other plots, savefig, using python modules.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff changeset
     3
{\ex \lstinline|        s = s + i|}
36295bb91766 Added quickrefs for dictionaries, getting started with arrays, for, matrices, other plots, savefig, using python modules.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff changeset
     4
36295bb91766 Added quickrefs for dictionaries, getting started with arrays, for, matrices, other plots, savefig, using python modules.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff changeset
     5
Range function:\\
36295bb91766 Added quickrefs for dictionaries, getting started with arrays, for, matrices, other plots, savefig, using python modules.
Anoop Jacob Thomas<anoop@fossee.in>
parents:
diff changeset
     6
{\ex \lstinline|    range([start,]stop[,step])|}