def create_dict(items):
    """
    creates a dict with each key and value set to an item of given list.

    :param list items: items to create a dict from them.

    :rtype: dict
    """

    result = {name: name for name in items}
    return result