First of all i'm really sorry i shouldn't ask that question. i have a list of dictionary's and this dictionary holds keys values like:
dictList = [
            {
             0:1,
             1:1,
             2:None
             },
            {
             0:0,
             1:None,
             2:None
            },
           {
            0:0,
            1:1,
            2,1
           }
          ]
If none of the dictList's elements are none, I want to append it to another list. For example dictList[2] has not None value i want to append that dictionary to another list.
i tried to write it with flag but i think i have to create a flag array and check flagArray does not contains False like:
for i in range(len(dictList)):
dictLoop = lastCombination[i]
flagArray = []
for k,v in dictLoop.items():
    if(v is None):
        flagArray.append(False)
    else:
        flagArray.append(True)
    if(flagArray.__contains__(False)):
        showCombinationWithZero.append(dictList[i])
        
    else:
        showCombinationWithOutZero.append(dictList[i])
it didin't work well. Thanks for advices.
 
     
     
     
     
    