[Tutor] help me to do my exercise

Eric Walstad eric at ericwalstad.com
Mon Mar 5 17:39:26 CET 2007

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 ']'.


More information about the Tutor mailing list