import stringbadSentence = "\t\tThis sentence has problems. "print "\nBad:\n" + badSentenceprint "\nFixed:\n" + badSentence.lstrip('\t')