i'm new to python I have Ordered dictionary
dictA = {f1 : ["s","r"],
f2 : ["p"],
f3 : ["w","t"]}
How do I form a list that should have only 1st elements from values present in dictionary dictA
and followed by 2nd elements ... and so on, until it reached the list_size_limit = 5
Final list ["s","p","w","r","t"]
if the list_size_limit = 3
Final list = ["s","p","w"]
How do i form a list which has 1st elements of all values of dictionary to be present in list 1st, followed by 2nd elements...3rd elements