Ask Your Question

# Revision history [back]

Hmmm . . . I couldn't figure it out either. The following does work:

s = 'fooooo'
t = 'baar'
print t + s[len(t):]

baaroo


Will that work in your situation?