Fair Cake Division

Function to ascertain a fair division of cake for a birthday party.

The task is to write a Python function that determines if it is possible to evenly distribute slices of cake among a given number of people considering the following: - The total number of slices of the cake. - The total number of people. - The desired number of cake slices per person. ### Parameters - `total_slices` (integer): The total number of slices of the cake. - `total_people` (integer): The total number of people. - `slices_per_person` (integer): The desired number of cake slices per person. The input parameters have inconsistent terminology. The `headcount` should be referred to as `total_people` to more clearly denote its meaning. ### Return Value - Returns `True` if it is possible to distribute the slices of cake evenly among the people; Returns `False` if it is not possible to do so. ### Examples ```python solution(11, 5, 2) # True # Explanation: 5 people x 2 slices/person = 10 slices, which is less than 11 slices of cake solution(11, 5, 3) # False # Explanation: 5 people x 3 slices/person = 15 slices, which is more than 11 slices of cake solution(8, 3, 2) # True # Explanation: 3 people x 2 slices/person = 6 slices, which is less than 8 slices of cake solution(24, 12, 2) # True # Explanation: 12 people x 2 slices/person = 24 slices, which is equal to 24 slices of cake ```