Run
str = 'Hello! I am Robot. This is a Python example.' # Split string splits = str.split() # For loop to iterate over words array for split in splits: print(split)
Output