Say we have this:
dict = {1:[2, 3]}
m = 4
new = {1:[]} # to save time, the keys in "new" were obtained from "dict"
I wanna use "dict" to make "new" so each of the values appear in list of "dict" as many times as "m" so that:
new = {1:[2, 2, 2, 2, 3, 3, 3, 3]} # values appear "m" times
How can I achieve this by using for loops? It gets kinda confusing for me as I used a lot of for loops, any help would be appreciated. I would prefer if you guys give ideas rather that give me the code.