I added *len(new_message) + len(add) <= MAX_LENGTH *to the outer while loop instead of inner which threw an error. Your code works as expected. Thanks a lot!
Saad
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor