You are viewing a single comment's thread. Return to all comments →
def getTotalX(a, b): count = 0 for x in range(max(a), min(b)+1): if all(x % ai == 0 for ai in a) and all(bj % x == 0 for bj in b): count += 1 return count
Seems like cookies are disabled on this browser, please enable them to open this website
Between Two Sets
You are viewing a single comment's thread. Return to all comments →