From 04f70f5311a944a4c5d930282022a524f4ea0557 Mon Sep 17 00:00:00 2001 From: Anoop Jacob Thomas Date: Sun, 7 Nov 2010 16:51:41 +0530 Subject: made changes to getting started with for. --- getting-started-with-for/script.rst | 2 ++ 1 file changed, 2 insertions(+) (limited to 'getting-started-with-for') diff --git a/getting-started-with-for/script.rst b/getting-started-with-for/script.rst index a8226fe..014e040 100644 --- a/getting-started-with-for/script.rst +++ b/getting-started-with-for/script.rst @@ -168,6 +168,8 @@ perfect squares and a list of those which are not. The numbers are, 7225, 3268, 3364, 2966, 7056, 5625, 729, 5547, 7056, 576, 2916 +Pause here and try to solve the problem before proceeding further. + {{{ switch to next slide, problem statement of second problem in solved exercise}}} -- cgit From 750a0f2b18a04119429be98f836d492804441ea8 Mon Sep 17 00:00:00 2001 From: Anoop Jacob Thomas Date: Sun, 7 Nov 2010 18:36:59 +0530 Subject: Added quickrefs for dictionaries, getting started with arrays, for, matrices, other plots, savefig, using python modules. --- getting-started-with-for/quickref.tex | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 getting-started-with-for/quickref.tex (limited to 'getting-started-with-for') diff --git a/getting-started-with-for/quickref.tex b/getting-started-with-for/quickref.tex new file mode 100644 index 0000000..d106d6d --- /dev/null +++ b/getting-started-with-for/quickref.tex @@ -0,0 +1,6 @@ +For loop:\\ +{\ex \lstinline| for i in range(1,11,2):|} +{\ex \lstinline| s = s + i|} + +Range function:\\ +{\ex \lstinline| range([start,]stop[,step])|} -- cgit