I\'m trying to write a code that lets me find the first few multiples of a number. This is one of my attempts:
def printMultiples(n, m): for m in (n,m): prin
If this is what you are looking for -
To find all the multiples between a given number and a limit
def find_multiples(integer, limit): return list(range(integer,limit+1, integer))
This should return -
Test.assert_equals(find_multiples(5, 25), [5, 10, 15, 20, 25])