Input: 2, 3
Output: def average(a, b):
return (a + b) / 2
print(average(2, 3))
Prompt: Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
Create a function in Python that takes two numbers as arguments and returns their average.
### Input:
2, 3
### Output:
def average(a, b):
return (a + b) / 2
print(average(2, 3))