I've seen examples like this one on how to merge two lists into one dictionary, using the elements of one list as a key and the other, as the value. The only problem(better to say limitation) is that the size of the both lists need to be equal in order to achieve this.
Let's say I've got two lists like below:
A = ['SW1', 'SW2', 'SW3', 'SW4']
B = ['N1', 'N2', 'N3', 'N4', 'N5', 'N6', 'N7']
And the result I'm looking for must be a joint dictionary of these two lists in total random order, even the number of values per each key! (it may varies at each execution of the program).
e.g. at first run I get randomly something like this:
Run1 = {"SW1":["N1"], "SW2":["N2","N3"], "SW3":["N4"], "SW4":["N5", "N6", "N7"] }
and at the future runs it may/should show different orders/numbers/assignment of the second list elements as the values for each key taken from first list. How is this possible?