def replace_key_with_value(s, replace_dict):
    """In string s keys in the dict get replaced with their value"""
    for key in replace_dict:
        s = s.replace(key, replace_dict[key])
    return s