remove dict last element

34

for k, v in listDict.items():
    v.pop()

Comments

Submit
0 Comments