List to Dictionary

Hello, I would like to turn a list into a dictionary. But I don’t want to do it manually, because it would be too much work and it wouldn’t be practical.

How can I solve this problem?

Something like this ?


dora_paz, this is the path I want. However, how do I set the first value on my list as the name of the key?

edit: One moment, I am receiving these values and not like yours. although the dictionary is not empty!


may I see the global URL (use Do it and post a screenshot) ? is it a list or a list of lists ?

omg, that little set of blocks did what I wanted!!


edit: Thank you for taking me to this solution !!

1 Like

Just one last question.

Sorry if it’s something simple, I’m new to it.

I can get the values by entering the exact value of the key. However, the dictionary is like a json file, am I right?

Is there a way for me to get a value by typing part of the key?

keys values: 1,2,3 … 7,8,9,10

example: When entering “1”, would it be possible to receive the key “1” and “10”?

Try something like this if you use a textbox

1 Like

dora_paz, thank you very much!!
You made my day !!
I hope your day is amazing!

1 Like

Glad I could help :slight_smile:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.