You need to store the count before resetting it since you want > to know the largest value of count over the list. Or at least keep a > separate max variable that you update if count > max. >
Fairly easy: if Cur_Count > Max_Count: Max_Count = Cur_Count See? Just two extra lines of code.
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor