Python - Convert each list element to key-value pair
Given list of elements, convert each element to a key-value pair dictionary, dividing digits equally. Input : test_list = [2323, 82, 129388, 234, 95] Output : {23: 23, 8: 2, 129: 388, 2: 34, 9: 5} Explanation : Digits distributed equally to keys and values. Input : test_list = [2323, 82, 129388] Output : {23: 23, 8: 2, 129: 388} Explanation : Digit