String Python Tutorial

import string
badParagraph = "\t\tThis paragraph \nhas even more \nproblems.!?   "
print "\nBad:\n" + badParagraph
print "\nFixed:\n" + badParagraph.strip((' ?!\t'))