human
Solve the following python programming problem given the following code:
@snippet
def client_list_subscriptions(client, to_delete):
assistant
#Here is the Python code you requested.

    """List all subscriptions for a project.
    """
    def do_something_with(sub):
        pass
    for subscription in client.list_subscriptions():
        do_something_with(subscription)