getting-started-with-for/quickref.tex
author Amit Sethi
Wed, 10 Nov 2010 12:23:40 +0530
changeset 441 430035b678f7
parent 398 36295bb91766
permissions -rw-r--r--
Exercises for getting started with lists and some changes based on review

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

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