# your code goes heren=int(input())m=int(input())while n<m: print(n," ",end="") n=n+1print("$")
6 9
6 7 8 $
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!