[Tutor] What's the invalid syntax? Code supplied

Nathan Pinno falcon3166 at hotmail.com
Thu Aug 4 04:35:53 CEST 2005


Sure, the problem was that I had forgotten a comma before the "\n". I added 
a comma and it came up with another error that I fixed on my own, then the 
current error came up.
----- Original Message ----- 
From: "Danny Yoo" <dyoo at hkn.eecs.berkeley.edu>
To: "Nathan Pinno" <falcon3166 at hotmail.com>
Cc: "Tutor mailing list" <tutor at python.org>
Sent: Wednesday, August 03, 2005 8:31 PM
Subject: Re: [Tutor] What's the invalid syntax? Code supplied


>
>
> On Wed, 3 Aug 2005, Nathan Pinno wrote:
>
>> See my latest message for how I fixed this error and got another in its
>> place.
>
> Wait, wait, before we go on: can you explain in your own words why there
> was something wrong, what the correction was, and why the correction
> works?
>
> The reason I ask is because I want to avoid the situation where you just
> copy-and-paste a solution and don't understand why it fixes things.
>
> I guess I'm being annoying in trying to make sure you're actually learning
> from your mistakes.  *grin*
>
> 


More information about the Tutor mailing list