You are viewing a single comment's thread. Return to all comments →
Python3
def getTotalX(a, b): result = 0 for num in range(max(a), min(b) + 1): if all(num % i == 0 for i in a) and all(j % num == 0 for j in b): result += 1 return result
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 →
Python3