def make_coffee(resources, menue, drink):
    """make a coffee and deduct from the resources"""

    resources['water'] -= menue[drink]['ingredients']['water']
    resources['coffee'] -= menue[drink]['ingredients']['coffee']
    
    if drink != 'espresso':
        resources['milk'] -= menue[drink]['ingredients']['milk']

    print(f"Here is your {drink}. Enjoy!")
    return resources