Concerning the problem: reversing a string I think, since print x, inserts a space after printing x, it is better first to construct the backword and then return it to a print-statement: For instance: >>> def backword(s): s = list(s) s.reverse() return ''.join(s) >>> print backword("abraham") maharba >>> Have fun! Gregor