def reverse(x): return x[::-1]print(reverse(list(range(1,1000001)))[0])
Standard input is empty
1000000
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!