Ad

Is this what you are looking for?

Code
Diff
  • def find_multiples(b, l):
    	return [n for n in range(b, l + 1, b)]
    • def find_multiples(b, l):
    • a=[]
    • for i in range(b,l+1,b):
    • a.append(i)
    • return a
    • return [n for n in range(b, l + 1, b)]