sampleDict = { 
   "class":{ 
      "student":{ 
         "name":"Mike",
         "marks":{ 
            "physics":70,
            "history":80
         }
      }
   }
}
#now we have to access the "history" element from above dictionary

print(sampleDict['class']['student']['marks']['history'])

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: