Python program to find smallest positive number which is divided by 1 to 20

def multiple_num_upto(upto):
    def div(num):
        for i in range(1,upto+1):
            if num%i != 0:
                return True
            if i==20:
                return False
    num=10
    a=True
    while a==True:
        num+=10
        a=div(num)
    print(num)
multiple_num_upto(20)  #232792560