string1 = "t n This is a test string. tt 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()
Name (required)
email (will not be published) (required)
Website