title: Multiples of X from 1 to N
body: <p>The program accepts two integers (N, X) and prints all the multiples of X from 1 to N.</p>
  <p>My code:</p>
  <pre class="lang-py prettyprint-override"><code>    N, X = [int(val) for val in input().split()]
      for ctr in range(X,N+1):
           print(ctr, end=&quot; &quot;)
  </code></pre>
  <p>Expected output:</p>
  <pre><code>20 2
  
  2 4 6 8 10 12 14 16 18 20
  </code></pre>
  <p>Actual output:</p>
  <pre><code>20 2
  
  2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
  </code></pre>