Code
Diff
  • find_multiples = lambda b, l:[x for x in range(b,l+1,b)]
  • 1
    def find_multiples(b, l):
    
    2
        a=[]
    
    3
        for i in range(b,l+1,b):
    
    4
            a.append(i)
    
    5
        return a
    
    1+
    find_multiples = lambda b, l:[x for x in range(b,l+1,b)]