Here's an example of a simple Python function that takes in two integers and returns their sum:

def add_numbers(x, y):
    sum = x + y
    return sum

To use this function, you can call it and pass in two integers:

result = add_numbers(2, 3)
print(result) # Output: 5
simple python function example