list_to_dict# list_to_dict(dict_list: list) → dict[source]# Return a dictionary from a list [key, value, key_2, value_2...] Parameters: dict_list (list[str]) – Dictionary as a list Returns: Dictionary Return type: dict Example >>> lst = ["A","T", "R", 3] >>> list_to_dict(lst) {"A": "T", "R": 3}