<br><br><div class="gmail_quote">On Mon, Jun 28, 2010 at 3:47 PM, samir menon <span dir="ltr"><<a href="mailto:menon.samir@gmail.com">menon.samir@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have been looking for something like this for quite a while. I am going to try to teach my little brother, (about 10) , to learn programming, and this seems like the perfect way to do it. </blockquote><div><br>You could not have picked better words to say to a teacher (though "here's a million dollars" would also be nice), so thank you. :) <br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>-I am on python 3.1, was this written in 2.6 or something?</div></blockquote>
<div><br>Yes, that's right (2.6), it's not a Windows/Linux thing. <br>If you're interested in teaching your brother Python 3.x, lowercase() got replaced with ascii_lowercase(), and "print something" now has to be "print(something)". Python 2.6 supports both "print x" and "print(x)", however I chose the former approach in my tutorial because it's a bit simpler and I can postpone explaining functions a bit. I plan to show that "print(x)" also works, but after the lesson on functions.<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>Other than that (by looking at your code) I see that this is an awesome program! <img src="cid:330@goomoji.gmail" style="margin: 0px 0.2ex; vertical-align: middle;" goomoji="330"></div>
</blockquote><div><br>Glad to hear it. Stick around - I'll be posting the rest of my lessons when I get enough thumbs-up on this one. <br><br>Kind regards,<br>Dinko Galetic<br></div></div>