I don\'t really know how to ask that question in the title... but here\'s the code:
w = 0 for data in expireintlist: if expireintlist[w] != 0: if