We use ceiling function to handle odd number ' o ' s
coun = math . ceil ( float ( coun / ( right + left ) ) ) NEW_LINE max_length = max ( max_length , coun ) NEW_LINE coun = 0 NEW_LINE return max_length NEW_LINE