a ='apple btc python'a[::-1]print(a)b = a.split()print(b)b.sort()print(b)
Standard input is empty
apple btc python ['apple', 'btc', 'python'] ['apple', 'btc', 'python']
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!