0 out of 68 challenges solved
**Question:** Write a function called partial that takes a function `f` and an arbitrary number of arguments. The function should return a new function that is `f` partially applied to the arguments. **Example:** Input: partial(sum, 1, 2, 3)(4) Output: 10
def partial(f, *args): """ Returns a new function that is f partially applied to the arguments. Args: f: The function to partially apply. *args: The arguments to partially apply. Returns: function: The new function that is f partially applied to the arguments. """ # TODO: Implement the partial function pass