In the same script, validate the correctness of your function by adding the following code:
mean_of_variables = mean_of_two_values(2, 5)
print(mean_of_variables)
Should give the output:
calculating the mean of 2 and 5
3.5
Beware Do not use Python built-in names1 for your variables and functions otherwise you will change their behaviour.