remove dict last element code example Example: remove dict last element for k, v in listDict.items(): v.pop()