Question d’entretien chez Careem

a question on codility to change the code to return data using a predefined function in the response body