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