Skip to content

Tag: dictionary

dictionary seperation in python

i have a question that might end up being a fairly simple fix but i am having a lot of trouble with it. I am making a program that will allow the user to pick between a list of text files that are all like this to search:mirar,buscar to play:jugar to be:ser,estar to run:correr to make:hacer to talk:hablar to …

Appending two lists with multiple dicts Python

I have five dictionaries dic1, dict2, dict3, dict4, dict5. I’m trying to append dict-keys to two lists list1, list2. Output The first three dictionaries are to be appended for both the lists and fourth dictionary dict4 to the list1 and fifth dict5 to the list2. So far I did in this approach, I’m l…