Printing multiples of numbers
<p>Well, I have another problem I've been struggling with for about an hour and I've run out of ideas. I'm trying to write a code that lets me find the first few multiples of a number.</p>

<pre><code>def printMultiples(n, m):
for m in (n,m):
    print(n, end = ' ')
</code></pre>

<p>Was one of my many attempts. I figured by putting "for m in (n, m):", it would run through the loop for whatever number was "m".</p>

<pre><code>def printMultiples(n, m):
'takes n and m as integers and finds all first m multiples of n'
for m in (n,m):
    if n % 2 == 0:
        while n &lt; 0:
            print(n)
</code></pre>

<p>After multiple google searches I was only able to find a sample code in java so I tried to translate that into python, but I didn't get any results. I have a feeling I should be using the range function somewhere in this, but I have no idea where. Any help would be appreciated.</p>

<p>Edit:</p>

<p>Sorry for not giving examples. Since n and m are integers, printMultiples(10, 2) would print 10 and 20. printMultiples(7,5) would print "7 14 21 28 35"</p>
