There is one small mistake in Michael's answer. Variable 'r' should not be put behind but ahead. So operator '+=' could not be used here. You can use the following statement instead.
b = r + ',' + b Operator '+' concatenate string together to make a new string. In this statement it concatenate three strings together, 'r' and 'b' are str type varible, ',' is str type value. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor