<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hi Dinko, <div><br></div><div>More notes and corrections:</div><div><br></div><div>I would divide this lesson into 2 parts or rename the examples. You have two Example 1s, two Example2s and so forth. See the other notes below. This is all I have tested so far. More later.</div><div><br></div><div>Caryl</div><div><br></div><div>P.S. If you haven't already guessed, I have used "*s" to show skipped parts of the lesson where I have no comments.</div><div><br></div><div><br></div><div><br></div><div><div>Congratulations, <name>, this is the <font class="Apple-style-span" color="#C00000">3rd</font> chapter! You're on your way to be<font class="Apple-style-span" color="#C00000">coming</font> a programmer :) Let's see what's next on our learning list.</div><div>Quite often, we want our computer to repeat certain commands. Now, what we could do is write those commands several times.</div><div><font class="Apple-style-span" color="#C00000"><i>Typos: Change 2nd to 3rd and "be" to "becoming" or "being."</i></font></div></div><div><font class="Apple-style-span" color="#C00000"><i><span class="Apple-style-span" style="color:rgb(0, 0, 0);font-style:normal;font-size:13.1944px">*</span></i></font></div><div><font class="Apple-style-span" color="#C00000"><i><span class="Apple-style-span" style="color:rgb(0, 0, 0);font-style:normal;font-size:13.1944px">*</span></i></font></div><div><font class="Apple-style-span" color="#C00000"><i><span class="Apple-style-span" style="color:rgb(0, 0, 0);font-style:normal;font-size:13.1944px"><div>Example 2</div><div> </div><div># example start</div><div>number_of_prints = 0</div><div>while number_of_prints < 10:</div><div> print "I am repeating this line 10 times!"</div><div> number_of_<font class="Apple-style-span" color="#C00000">prints</font> = number_of_<font class="Apple-style-span" color="#C00000">prints</font> + 1</div><div>print "And we're done!"</div><div># example end</div></span></i></font></div><div><font class="Apple-style-span" color="#C00000"><i>Typo or variable mismatch. Change "times" to "prints" or "prints" to "times" and it will work.</i></font></div><div><font class="Apple-style-span" color="#C00000"><i><span class="Apple-style-span" style="color:rgb(0, 0, 0);font-style:normal;font-size:13.1944px"><div style="text-indent:0in !important"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size:13px"><span class="Apple-style-span" style="font-size:13.1944px"><div style="text-indent:0in !important"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size:13px">*</span></font></div><div style="text-indent:0in !important"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size:13px">*</span></font></div><div style="text-indent:0in !important"><font class="Apple-style-span" color="#C00000" style="text-indent:0in !important"><i style="text-indent:0in !important"><span class="Apple-style-span" style="text-indent:0in !important;color:rgb(0, 0, 0);font-style:normal;font-size:9.16278px"></span></i></font></div></span></span></font></div><div style="text-indent:0in !important"><font class="Apple-style-span" color="#C00000" style="text-indent:0in !important"><i style="text-indent:0in !important"><span class="Apple-style-span" style="text-indent:0in !important;color:rgb(0, 0, 0);font-style:normal;font-size:9.16278px"></span></i></font></div></span></i></font></div><div><font class="Apple-style-span" color="#C00000"><i><div><span class="Apple-style-span" style="color:rgb(0, 0, 0);font-style:normal;font-size:13.1944px"><div style="text-indent:0in !important"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size:13px"><div style="text-indent:0in !important">3) Write the program exactly like the previous one, but have it output like this:</div><div style="text-indent:0in !important"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size:13px">*</span></font></div><div style="text-indent:0in !important"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size:13px"><div style="text-indent:0in !important">4) Write the program exactly like the previous one, but have it output like this:</div><div><br></div></span></font></div><div><i><font class="Apple-style-span" color="#C00000">Comments: they won't be "exactly like the previous one" so you might want to say "almost like" or "similar to," or something like that.</font></i></div><div><i><font class="Apple-style-span" color="#C00000">Also, these is the second examples 3 and 4 in the lesson.</font></i></div><div><i><font class="Apple-style-span" color="#C00000"><span class="Apple-style-span" style="font-style:normal;font-size:13.1944px"><i style="text-indent:0in !important"><span class="Apple-style-span" style="text-indent:0in !important;color:rgb(0, 0, 0);font-style:normal;font-size:9.16278px"><div style="text-indent:0in !important"><font class="Apple-style-span" size="3" style="text-indent:0in !important"><span class="Apple-style-span" style="text-indent:0in !important;font-size:9.02778px"><span class="Apple-style-span" style="text-indent:0in !important;font-size:9.16278px"><div style="text-indent:0in !important"><font class="Apple-style-span" size="3" style="text-indent:0in !important"><span class="Apple-style-span" style="text-indent:0in !important;font-size:9.02778px">*</span></font></div></span></span></font></div></span></i></span></font></i></div></span></font></div><div style="text-indent:0in !important"><font class="Apple-style-span" color="#C00000" style="text-indent:0in !important"><i style="text-indent:0in !important"></i></font></div></span></div></i></font></div>
                                           </body>
</html>