string1 = "\t \n This is a test string. \t\t \n"print 'Original string: "%s"\n' % string1print 'Using strip: "%s"\n' % string1.strip()print 'Using left strip: "%s"\n' % string1.lstrip()print 'Using right strip: "%s"\n' % string1.rstrip()