fork download
  1. m=int(input())
  2. n=int(input())
  3. k=int(input())
  4. if m<n and k>0:
  5. for i in range(m,n,k): print(i)
  6.  
Success #stdin #stdout 0.07s 14052KB
stdin
1
10
2
stdout
1
3
5
7
9