A listing comprehension may be used to develop a summary of critical-price pairs, that may then be handed to your dict constructor. So: user225312user225312 131k7171 gold badges175175 silver badges182182 bronze badges 4 2 In my opinion far better compared to the ruby technique, you may convert amongst sequence kinds https://nimmansocial.com/story8152971/about-lost-vape-thelema-dna250