a = "i like my new program"b = a.split(' ')c = ''for i in b: i = i[::-1] c = c + i + ' ' c = c[::-1]print(c)
Standard input is empty
program new my like i
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!