"How can I remove all words that end in "":"" from a string in Python?",print(' '.join(i for i in word.split(' ') if not i.endswith(':')))