getting-started-with-for/quickref.tex
author anand
Mon, 15 Nov 2010 14:08:41 +0530
changeset 495 139bf21a9473
parent 398 36295bb91766
permissions -rw-r--r--
checklist OK for `embellishing a plot`

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

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