def replace_item_in_list(l: list, item_old: str, item_new: str):
    """
    Replace a specific item into a list.
    """
    for i in range(len(l)):
        if l[i] == item_old:
            l[i] = item_new
    return l