# your code goes hererevertido = str(123)[::-1]print(revertido)
Standard input is empty
321
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!