On Fri, Oct 16, 2009 at 7:53 AM, Eike Welk <eike.w...@gmx.net> wrote:
> I have an other idea for a color function. It cam be embedded in the > print statement because it returns an empty string: > > > def color(color_num): > '''Change text color and return empty string.''' > textcolor(color_num) > return '' > > print "There are", color(4), apples_left, \ > color(7), "left in the basket." This will put double spaces between the actual strings. Kent _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor