Re: Homework help requested, thanks to everyone.

2013-07-22 Thread Skip Montanaro
John> Another project I thought of was a Pig Latin translator. (But do kids today John> even know what Pig Latin is? Am I showing my age?) Chris> Even if they don't, they'll grok it no problem. It's simple enough. Google for "Python pig latin" to see a lot of "prior art". And it might be usefu

RE: Homework help requested, thanks to everyone.

2013-07-21 Thread Joseph Clark
John, have you taken a look at pyglet? It's an alternative to pygame and I found it pretty slick once I got the hang of it. There is a development version that's compatible with python 3 and I've never had a bug with it. It wraps OpenGL itself so there are no additional dependencies. // jo

Re: Homework help requested, thanks to everyone.

2013-07-21 Thread Roy Smith
In article , Chris Angelico wrote: > On Mon, Jul 22, 2013 at 6:49 AM, John Ladasky > wrote: > > Another project I thought of was a Pig Latin translator. (But do kids > > today even know what Pig Latin is? Am I showing my age?) > > > Even if they don't, they'll grok it no problem. It's simp

Re: Homework help requested, thanks to everyone.

2013-07-21 Thread Chris Angelico
On Mon, Jul 22, 2013 at 6:49 AM, John Ladasky wrote: > Another project I thought of was a Pig Latin translator. (But do kids today > even know what Pig Latin is? Am I showing my age?) Even if they don't, they'll grok it no problem. It's simple enough. ChrisA -- http://mail.python.org/mailma

RE: Homework help requested (not what you think!)

2013-07-18 Thread Joseph Clark
Not to open Pandora's box or anything, but are you aware of the Roguelike community (subculture?) (cult?) of game development? Rogue was an old "text-based" role playing game for Unix, "text-based" in the sense that it used the console as a 2D map and ASCII characters as graphics. There has be

Re: Homework help requested (not what you think!)

2013-07-18 Thread Gene Heskett
On Thursday 18 July 2013 09:04:32 Albert van der Horst did opine: > In article , > > Chris Angelico wrote: > >On Wed, Jul 17, 2013 at 8:43 AM, John Ladasky > > > > wrote: > >> I think that they're disappointed when I show them how much they have > >> to > > > >understand just to write a program

Re: Homework help requested (not what you think!)

2013-07-18 Thread Albert van der Horst
In article , Chris Angelico wrote: >On Wed, Jul 17, 2013 at 8:43 AM, John Ladasky > wrote: >> I think that they're disappointed when I show them how much they have to >understand just to write a program that plays Tic Tac Toe. > > >The disillusionment of every novice programmer, I think. It start

Re: Homework help requested (not what you think!)

2013-07-18 Thread Beth McNany
On Tue, Jul 16, 2013 at 6:43 PM, John Ladasky wrote: > Hi folks, > > No, I'm not asking for YOU to help ME with a Python homework assignment! > > Previously, I mentioned that I was starting to teach my son Python. > > https://groups.google.com/d/msg/comp.lang.python/I7spp6iC3tw/8lxUXfrL-9gJ > > He

Re: Homework help requested (not what you think!)

2013-07-17 Thread Aseem Bansal
On Wednesday, July 17, 2013 4:13:45 AM UTC+5:30, John Ladasky wrote: > Hi folks, > > > > No, I'm not asking for YOU to help ME with a Python homework assignment! > > > > Previously, I mentioned that I was starting to teach my son Python. > > > > https://groups.google.com/d/msg/comp.lang.

Re: Homework help requested (not what you think!)

2013-07-17 Thread alex23
On 17/07/2013 11:29 PM, Chris Angelico wrote: On Wed, Jul 17, 2013 at 11:20 PM, Neil Cerutti wrote: Markov chains are an advanced technique you could introduce, but you'd need a huge list of names broken into syllables from somewhere. You could use names broken into letters... or skip the not

Re: Homework help requested (not what you think!)

2013-07-17 Thread Chris Angelico
On Wed, Jul 17, 2013 at 11:55 PM, Neil Cerutti wrote: > On 2013-07-17, Chris Angelico wrote: >> On Wed, Jul 17, 2013 at 11:20 PM, Neil Cerutti wrote: >>> Markov chains are an advanced technique you could introduce, but >>> you'd need a huge list of names broken into syllables from >>> somewhere.

Re: Homework help requested (not what you think!)

2013-07-17 Thread Neil Cerutti
On 2013-07-17, Chris Angelico wrote: > On Wed, Jul 17, 2013 at 11:20 PM, Neil Cerutti wrote: >> Markov chains are an advanced technique you could introduce, but >> you'd need a huge list of names broken into syllables from >> somewhere. > > You could use names broken into letters... or skip the n

Re: Homework help requested (not what you think!)

2013-07-17 Thread Chris Angelico
On Wed, Jul 17, 2013 at 11:20 PM, Neil Cerutti wrote: > Markov chains are an advanced technique you could introduce, but > you'd need a huge list of names broken into syllables from > somewhere. You could use names broken into letters... or skip the notion of names and just generate words. Lists

Re: Homework help requested (not what you think!)

2013-07-17 Thread Neil Cerutti
On 2013-07-16, John Ladasky wrote: > So, what I am seeking are suggestions for programming > assignments that I can give to brand-new students of Python. > Please keep in mind that none of them are even up to the task > of a simple algorithm like Bubble Sort -- at least, not yet. One of the first

Re: Homework help requested (not what you think!)

2013-07-17 Thread PythonAB
On 17 jul 2013, at 08:35, alex23 wrote: > On 17/07/2013 8:43 AM, John Ladasky wrote: >> The kids all claim to be interested. They all want to write the next great >> 3D video game. Thus, I'm a little surprised that the kids don't actually >> try to sit down and code without me prompting them.

Re: Homework help requested (not what you think!)

2013-07-17 Thread Joshua Landau
On 16 July 2013 23:43, John Ladasky wrote: > > Well, a few other parents caught wind of what I was doing with my son, and > they asked me whether I could tutor their kids, too. I accepted the jobs > (for pay, actually). > > The kids all claim to be interested. They all want to write the next g

Re: Homework help requested (not what you think!)

2013-07-16 Thread Steven D'Aprano
On Tue, 16 Jul 2013 15:43:45 -0700, John Ladasky wrote: > The kids all claim to be interested. They all want to write the next > great 3D video game. Thus, I'm a little surprised that the kids don't > actually try to sit down and code without me prompting them. I think > that they're disappoint

Re: Homework help requested (not what you think!)

2013-07-16 Thread alex23
On 17/07/2013 8:43 AM, John Ladasky wrote: The kids all claim to be interested. They all want to write the next great 3D video game. Thus, I'm a little surprised that the kids don't actually try to sit down and code without me prompting them. I think that they're disappointed when I show th

Re: Homework help requested (not what you think!)

2013-07-16 Thread Chris Angelico
On Wed, Jul 17, 2013 at 10:53 AM, Joel Goldstick wrote: > There is a book : http://inventwithpython.com/ Invent Your Own Computer > Games with Python > which claims to teach people to program games in python. I haven't read it, > but it seems to be for beginning programmers. Take a look.. Maybe

Re: Homework help requested (not what you think!)

2013-07-16 Thread Joel Goldstick
On Tue, Jul 16, 2013 at 8:40 PM, Chris Angelico wrote: > On Wed, Jul 17, 2013 at 8:43 AM, John Ladasky > wrote: > > I think that they're disappointed when I show them how much they have to > understand just to write a program that plays Tic Tac Toe. > > > The disillusionment of every novice prog

Re: Homework help requested (not what you think!)

2013-07-16 Thread Chris Angelico
On Wed, Jul 17, 2013 at 8:43 AM, John Ladasky wrote: > I think that they're disappointed when I show them how much they have to > understand just to write a program that plays Tic Tac Toe. The disillusionment of every novice programmer, I think. It starts out as "I want to learn programming and

Re: Homework help requested (not what you think!)

2013-07-16 Thread David Hutto
You have to utilize a set curriculum to teach. Look at several books like Dive Into Python, and such, then work with the student on an individualized project for each one. For 3D you go with pygame and trig, or go with Blender's python API or matplotlib. Just at first show the basic types of data,

Re: Homework help

2008-04-02 Thread David C. Ullrich
On Tue, 1 Apr 2008 09:11:12 -0700 (PDT), [EMAIL PROTECTED] wrote: >Hey guys >I haev this homework assignment due today >I don't necessarily want the answers, but need help on how to approach >it/the steps i need to solve the problems I can see at least two possible approaches: Approach 1: (i)

Re: Homework help

2008-04-01 Thread Grant Edwards
On 2008-04-01, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: >> Write a function zip(lst1, lst2) such that zip accepts two equal >> length lists and returns a list of pairs. For example, zip(['a', 'b', >> 'c'], [10, 20, 30]) should evaluate to the list [('a', 10), ('b', 20), >> ('c', 30)]. >

Re: Homework help

2008-04-01 Thread Dan Upton
> > Write a function zip(lst1, lst2) such that zip accepts two equal > > length lists and returns a list of pairs. For example, zip(['a', 'b', > > 'c'], [10, 20, 30]) should evaluate to the list [('a', 10), ('b', 20), > > ('c', 30)]. > > Hey not even a rebinding necessary. :-) > We had some

Re: Homework help

2008-04-01 Thread Marc 'BlackJack' Rintsch
On Tue, 01 Apr 2008 09:11:12 -0700, bobby.connor wrote: > # (2 Points) Write a python function howMany(item,lst) which accepts > an item and a lst of items and returns the number of times item occurs > in lst. For example, howMany(3,[1,2,3,2,3]) should return 2. Study the methods on lists. > #

Re: Homework help

2008-04-01 Thread John Nagle
[EMAIL PROTECTED] wrote: > Hey guys > I haev this homework assignment due today > I don't necessarily want the answers, but need help on how to approach > it/the steps i need to solve the problems > Thanks > > # (2 Points) Write a python function howMany(item,lst) which accepts > an item and a ls

Re: Homework help

2008-04-01 Thread Nick Craig-Wood
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hey guys > I haev this homework assignment due today > I don't necessarily want the answers, but need help on how to approach > it/the steps i need to solve the problems > Thanks > > # (2 Points) Write a python function howMany(item,lst) which

Re: Homework help

2008-04-01 Thread Terry Reedy
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] | Hey guys | I haev this homework assignment due today | I don't necessarily want the answers, but need help on how to approach | it/the steps i need to solve the problems | Thanks Read the section of the tutorial (and possibly Launguag

Re: Homework help

2008-04-01 Thread Dave Hansen
On Apr 1, 11:29 am, [EMAIL PROTECTED] wrote: > On Apr 1, 12:17 pm, Paul Rubin wrote: > > > [EMAIL PROTECTED] writes: > > > I don't necessarily want the answers, but need help on how to approach > > > it/the steps i need to solve the problems > > > What parts are you havin

Re: Homework help

2008-04-01 Thread Tommy Grav
On Apr 1, 2008, at 12:29 PM, [EMAIL PROTECTED] wrote: > On Apr 1, 12:17 pm, Paul Rubin wrote: >> [EMAIL PROTECTED] writes: >>> I don't necessarily want the answers, but need help on how to >>> approach >>> it/the steps i need to solve the problems >> >> What parts are

Re: Homework help

2008-04-01 Thread bobby . connor
On Apr 1, 12:17 pm, Paul Rubin wrote: > [EMAIL PROTECTED] writes: > > I don't necessarily want the answers, but need help on how to approach > > it/the steps i need to solve the problems > > What parts are you having difficulty with? Are there some course > materials and

Re: Homework help

2008-04-01 Thread Bruno Desthuilliers
[EMAIL PROTECTED] a écrit : > Hey guys > I haev this homework assignment due today Isn't it a bit too late to worry about it then ? -- http://mail.python.org/mailman/listinfo/python-list

Re: Homework help

2008-04-01 Thread Paul Rubin
[EMAIL PROTECTED] writes: > I don't necessarily want the answers, but need help on how to approach > it/the steps i need to solve the problems What parts are you having difficulty with? Are there some course materials and have you read them yet? -- http://mail.python.org/mailman/listinfo/python-