strings=(str(x) for x in input().split(" "))for word in strings: print(word)
"aaa" "bbb" "ccc"
"aaa"
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!