spam(ham[1], {eggs: 2}) if x == 4: print x, y; x, y = y, x spam(1) dict['key'] = list[index]