human
Write a python function to find the sum of common divisors of two given numbers. Here is a solution in Python: ... Can you provide a Python code to find the sum of common divisors of two given numbers?
assistant
#Here is Python code to find the sum of common divisors of two given numbers.
 def sum(a,b): 
    sum = 0
    for i in range (1,min(a,b)): 
        if (a % i == 0 and b % i == 0): 
            sum += i 
    return sum