n=int(input())m=int(input())if n!=m: print(range(n,m,-1))
10 3
range(10, 3, -1)
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!