str = "After the flood ... all the colors came out."; print ((str.replace(".", "",3)).split(" "))
Standard input is empty
['After', '', 'the', 'flood', '', '', '', '', 'all', 'the', 'colors', 'came', 'out.']
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!