human
What is a the Python code you requested given the following:
Write a function to multiply two integers. Here is a solution in Python:
assistant
#Here is the Python code you requested.
 def multiply_int(x, y):
    if y < 0:
        return -multiply_int(x, -y)
    elif y == 0:
        return 0
    elif y == 1:
        return x
    else:
        return x + multiply_int(x, y - 1)