fork download
  1. # your code goes here
  2. n=int(input())
  3. m=int(input())
  4. while n<m:
  5. print(n," ",end="")
  6. n=n+1
  7. print("$")
Success #stdin #stdout 0.02s 9196KB
stdin
6
9
stdout
6  7  8  $