def dic_with_keys_and_values(hkeys, objvalues):
    """Factory function using keys and values to make dict."""
    if len(hkeys) != len(objvalues):
        print("Keys' and values' length aren't same!")
        return None

    d = dict()
    for i, key in enumerate(hkeys):
        d[key] = objvalues[i]

    return d