改写代码如下内容，使其更清晰、简洁、可重用：
```
def calculate_product(x, y):
    result = x * y
    return result

def display_result(x, y, function):
    result = function(x, y)
    print("The result is", result)

def main():
    x = 3
    y = 4
    display_result(x, y, calculate_product)

if __name__ == "__main__":
    main()
```
user
```
def calculate_product(x, y):
    return x * y

def display_result(x, y, function):
    print("The result is", function(x, y))

def main():
    display_result(3, 4, calculate_product)

if __name__ == "__main__":
    main()
```
assistant