string = "this is a string" ssplit = string.split() for word in ssplit: print (word)