The problem in your code is that you're not returning the result from your function. In Python, a function that doesn't explicitly return a value will return None by default.
def add_numbers(a, b):
result = a + b
return result # Add this
print(add_numbers(3, 5))