> I don't see how that differs from your expected output...?
>
> > I want all users added to the tweet. E.g. if 4 users can be added to the
> > tweet before reaching the limit, return three tweets...first two with 4
> users
> > attached and the last one with three.
>
> You hit the 140 character limit if another user is added, so it resets to
> the
> base message and adds the next user(s) as possible.
>
> What is your expected output for that sample input?
>

Oops! My bad. The fix worked as expected. The output fooled me into
thinking it was skipping a user every second line. Actually MAX_LENGTH was
being reached in each case. I'll check the tweet.py you posted.

Thanks again!
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to