getting-started-with-for/quickref.tex
author anand
Mon, 15 Nov 2010 15:38:44 +0530
changeset 512 b378844641fd
parent 398 36295bb91766
permissions -rw-r--r--
checklist not ok; 1 short answer question and 2 long answer questions need to be added.

For loop:\\
{\ex \lstinline|    for i in range(1,11,2):|}
{\ex \lstinline|        s = s + i|}

Range function:\\
{\ex \lstinline|    range([start,]stop[,step])|}