How to retrive data from nested data

I have the below Data structure:

response:{
                  'a':'1',
                  'b':[
                        {
                          'c':'2',
                           'd':[
                                  {
                                    'e':'3',
                                     'f':[
                                          {
                                            'g':'4',
                                            'h':'5
                                           }
                                          ]
                                   }
                                  ]
                           }
                          ]
                }

how can i use get() to get the value of 'h'

i was able to figure out with below structure:

print(response.get('b').get('d')[0].get('f')[0].get('h'))