My post to the Python for Kids thread is something I've been meaning to get around to with Freja for a while. She's only eight, but the's confident with and facinated by computers, so I thought that giving her a go wouldn't do any harm if I didn't push her.
So far, she's having a blast. At first, she just drove the turtle around, changing its colour on the way. But towards the end, I suggested that she make a square, and she managed that easily enough. I'll have a bash at loops with her soon, but I really don't want to overload her.
There was another script that I knocked up for her that she had fun with, first just running it, then making simple modifications:
your_name = raw_input("What's your name? ")
if your_name.lower() == "freja":
print "You're very stinky,", your_name
else:
print "You smell lovely, ", your_name
She worked out for herself how to replace 'freja' with 'daddy'. Ah, simple pleasures. ;-)
Note to self: Check out PyLogo.
Posted to Python by Simon Brunning at March 26, 2005 04:25 PM