If you have a dictionary like this -> d1={“k1?:10,”k2?:20,”k3”:30}. Use below to increment values of all the keys

d1={"k1":10,"k2":20,"k3":30}

for i in d1.keys():

d1[i]=d1[i]+1