remove all whitespace in a string,sentence = ''.join(sentence.split())