from typing import Dict
from typing import Tuple


def _get_params_as_def(params: Dict[str, str]) -> Tuple[str, str]:
    """Return the params formated as in a function definition and as params to be passed to a funciton."""
    # convert the params to a string
    str_params_def: str = ""
    str_params: str = ""
    for param_name, param_typing in params.items():
        str_params_def += f"{param_name}: {param_typing}, "
        str_params += f"{param_name}, "
    if str_params_def:
        str_params_def = str_params_def[:-2]
        str_params = str_params[:-2]
    return str_params_def, str_params