"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(':')))