[Tutor] Need help with dates in Python
ian douglas
ian.douglas at iandouglas.com
Wed Mar 9 20:27:20 CET 2011
I'm new to the language as well, but I think you're missing your
indentation after each of your 'if' conditions?
On 03/09/2011 10:34 AM, nookasree ponamala wrote:
> if t< max:
> maxyr = max<---------------- should be indented
> if t> min:
> minyr = min<---------------- should be indented
> t = (a,b,maxyr,minyr)
> tot.append(t)
> print t
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110309/0822e7b9/attachment.html>
More information about the Tutor
mailing list