I want to change the key name in my dictionary, the code i'm using is the following:

```
for key in my_dict_other:
    print(key)
    new_key = key + '/' + str(my_dict[key])
    print(new_key)
    my_dict_other[new_key] = my_dict_other.pop(key)

```

The issues i'm having is getting a key error after a few first successful code iterrations

Output:

```
38-7
38-7/[2550, 1651]
13-9
13-9/[2550, 1651]
16-15
16-15/[5100, 3301]
31-0/[5400, 3601]
Traceback (most recent call last):
    new_key = key + '/' + str(my_dict[key])
KeyError: '31-0/[5400, 3601]'

```

and getting the error each time on a different key so can't seem to understand the pattern of the issue or what's wrong with my code

**Edit:** Structure of `my_dict_other` :

```
'41-3': [['2436', '2459', '1901', '2152'],
                      ['2704', '2253', '2442', '2062'],
                      ['2763', '2595', '2498', '2518'],
                      ['2190', '1918', '1970', '1875'],
                      ['3154', '2442', '3023', '2417'],
                      ['3360', '2481', '3252', '2458'],
                      ['653', '1916', '430', '1874'],

```

Structure of `my_dict`:

```
'1-0': [5400, 3601],
 '1-1': [2550, 1651],
 '1-3': [5400, 3601],
 '1-4': [5400, 3601],
 '1-5': [5400, 3601],

```