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
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to