"Vasile Filat" <[EMAIL PROTECTED]> wrote
> I just started learning Python from a book translated intro
> Russian. It is my first exercise from the book and I don't
> know why it is not working.
OK, First please send the code as text rather than as an image.
It makes it much easier to comment when
In addition to what the others have said, you have a syntax error on line 7 of
your leap.py file. The 'for' loop will want an iterable to loop over. The
syntax error relates to the list you are trying to use, a slice of sys.argv.
Remember, lists are denoted by square brackets '[' and ']'.
Vasile Filat schrieb:
> Help me please to correct my code which I will include below.
It is customary to include code examples either inline in your message or
attach them as a plain text source code file. Some mailing list frown on
attachments in general (but this one doesn't, to my knowledge), b
On 3/5/07, Vasile Filat <[EMAIL PROTECTED]> wrote:
> I just started learning Python from a book translated intro Russian. It is my
> first exercise from the book and I don't know why it is not working. Help me
> please to correct my code which I will include below.
You need to tell us why it's