from typing import Dict
from typing import Any


def format(content: str, substitutions: Dict[str, Any]) -> str:
    """Formats the given content by performing the requested substitutions"""
    for currentKey in substitutions:
        content = content.replace(
            "%" + currentKey + "%", str(substitutions[currentKey]))

    return content