Practice: function definition

Question

Answer