Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion Python for a 10-14 years old?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Simon Brunning  
View profile  
 More options Mar 24 2005, 9:38 am
Newsgroups: comp.lang.python
From: Simon Brunning <simon.brunn...@gmail.com>
Date: Thu, 24 Mar 2005 14:38:32 +0000
Local: Thurs, Mar 24 2005 9:38 am
Subject: Re: Python for a 10-14 years old?
On 23 Mar 2005 21:03:04 -0800, tn...@yahoo.com <tn...@yahoo.com> wrote:

> Is there something out there like "Python for kids" which would explain
> *basic* programming concepts in a way which is accessible and
> entertaining for kids aged 10-14 (that about where her brain is right
> now) and which would allow them to "play around" and have fun solving
> small problems?

I don't know about kid's tutorials, but I can recommend that you try
the turtle module. It's great for kids. It gives really good immediate
feedback, You can start out using it interactively:

>>> import turtle
>>> turtle.forward(100)
>>> turtle.left(90)
>>> turtle.forward(100)
>>> turtle.left(90)
>>> turtle.forward(100)
>>> turtle.left(90)
>>> turtle.forward(100)
>>> turtle.left(90)

Then you can put this into a script, and run that. Then you might
introduce loops:

import turtle

for i in range(4):
    turtle.forward(100)
    turtle.left(90)

Then build some simple functions, like 'square':

def square():
    for i in range(4):
        turtle.forward(100)
        turtle.left(90)

square()

Then add arguments to your functions:

def square(size):
    for i in range(4):
        turtle.forward(size)
        turtle.left(90)

square(100)
square(50)

And so on. At each stage, you can see what's happening.

--
Cheers,
Simon B,
si...@brunningonline.net,
http://www.brunningonline.net/simon/blog/


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google