{"id":5049,"date":"2019-09-19T09:58:07","date_gmt":"2019-09-19T04:28:07","guid":{"rendered":"https:\/\/blog.pheonixsolutions.com\/?p=5049"},"modified":"2019-09-23T10:41:56","modified_gmt":"2019-09-23T05:11:56","slug":"python-dictionary-operations","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/blog\/python-dictionary-operations\/","title":{"rendered":"Python Dictionary Operations"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Python Dictionary Operations<\/h3>\n\n\n\n<p><strong>Date: 19\/09\/2019<\/strong><\/p>\n\n\n\n<p>In this tutorial, I going to explain the basics of python dictionary operations and methods. <\/p>\n\n\n\n<h4 class=\"wp-block-heading\">INTRODUCTION<\/h4>\n\n\n\n<p>Python dictionary is an unordered collection of items and also it contains key-value pairs and enclosed by curly-braces { }.<\/p>\n\n\n\n<p> Each key-value pair in a python dictionary is separated by a colon(:)  and each key is separated by a \u2018comma\u2019.<\/p>\n\n\n\n<p>Most importantly python dictionary, keys should not be repeated and values can be any datatype.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Create an empty dictionary: <\/strong><\/h4>\n\n\n\n<p>        First of all we can create the dictionary using the variable name for that we can use empty curly-braces. It will create an empty dictionary in python.<\/p>\n\n\n\n<ul class=\"wp-block-gallery columns-1 is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\"><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"575\" height=\"149\" src=\"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2019\/09\/emptydict_p1.png\" alt=\"\" data-id=\"5052\" data-link=\"https:\/\/blog.pheonixsolutions.com\/?attachment_id=5052\" class=\"wp-image-5052\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/09\/emptydict_p1.png 575w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/09\/emptydict_p1-300x78.png 300w\" sizes=\"auto, (max-width: 575px) 100vw, 575px\" \/><\/figure><\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Create a dictionary with the<\/strong> <strong>element<\/strong>:<\/h4>\n\n\n\n<p>         we can add items inside curly braces {} and separated by a comma for creating a dictionary with element.<\/p>\n\n\n\n<ul class=\"wp-block-gallery columns-1 is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex\"><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"583\" height=\"214\" src=\"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2019\/09\/emptydict_p2.png\" alt=\"\" data-id=\"5053\" data-link=\"https:\/\/blog.pheonixsolutions.com\/?attachment_id=5053\" class=\"wp-image-5053\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/09\/emptydict_p2.png 583w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/09\/emptydict_p2-300x110.png 300w\" sizes=\"auto, (max-width: 583px) 100vw, 583px\" \/><\/figure><\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Access elements from the dictionary<\/strong>:<\/h4>\n\n\n\n<p>We can access the dictionary elements using the key.<\/p>\n\n\n\n<ul class=\"wp-block-gallery columns-1 is-cropped wp-block-gallery-3 is-layout-flex wp-block-gallery-is-layout-flex\"><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"577\" height=\"173\" src=\"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2019\/09\/emptydict_3.png\" alt=\"\" data-id=\"5054\" data-link=\"https:\/\/blog.pheonixsolutions.com\/?attachment_id=5054\" class=\"wp-image-5054\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/09\/emptydict_3.png 577w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/09\/emptydict_3-300x90.png 300w\" sizes=\"auto, (max-width: 577px) 100vw, 577px\" \/><\/figure><\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Update dictionary value:<\/strong><\/h4>\n\n\n\n<p>We can add new items into the dictionary and also we can update the existing item.<\/p>\n\n\n\n<ul class=\"wp-block-gallery columns-1 is-cropped wp-block-gallery-4 is-layout-flex wp-block-gallery-is-layout-flex\"><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"581\" height=\"187\" src=\"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2019\/09\/dict4.png\" alt=\"\" data-id=\"5055\" data-link=\"https:\/\/blog.pheonixsolutions.com\/?attachment_id=5055\" class=\"wp-image-5055\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/09\/dict4.png 581w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/09\/dict4-300x97.png 300w\" sizes=\"auto, (max-width: 581px) 100vw, 581px\" \/><\/figure><\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Add element into the dictionary:<\/strong><\/h4>\n\n\n\n<p>We can add the new element into the existing dictionary with the new key-value pair.<\/p>\n\n\n\n<ul class=\"wp-block-gallery columns-1 is-cropped wp-block-gallery-5 is-layout-flex wp-block-gallery-is-layout-flex\"><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"572\" height=\"183\" src=\"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2019\/09\/dict5.png\" alt=\"\" data-id=\"5056\" data-link=\"https:\/\/blog.pheonixsolutions.com\/?attachment_id=5056\" class=\"wp-image-5056\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/09\/dict5.png 572w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/09\/dict5-300x96.png 300w\" sizes=\"auto, (max-width: 572px) 100vw, 572px\" \/><\/figure><\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Remove element from the dictionary:<\/strong><\/h4>\n\n\n\n<p>We can remove the element from the dictionary using the pop() method, for that, we can give key name within the pop method.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<ul class=\"wp-block-gallery columns-1 is-cropped wp-block-gallery-6 is-layout-flex wp-block-gallery-is-layout-flex\"><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"571\" height=\"193\" src=\"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2019\/09\/dict6.png\" alt=\"\" data-id=\"5057\" data-link=\"https:\/\/blog.pheonixsolutions.com\/?attachment_id=5057\" class=\"wp-image-5057\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/09\/dict6.png 571w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/09\/dict6-300x101.png 300w\" sizes=\"auto, (max-width: 571px) 100vw, 571px\" \/><\/figure><\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Remove all item from the dictionary:<\/strong><\/h4>\n\n\n\n<p>We can use clear() method to remove all element from the dictionary. It will display the empty dictionary.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<ul class=\"wp-block-gallery columns-1 is-cropped wp-block-gallery-7 is-layout-flex wp-block-gallery-is-layout-flex\"><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"572\" height=\"181\" src=\"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2019\/09\/dict7.png\" alt=\"\" data-id=\"5058\" data-link=\"https:\/\/blog.pheonixsolutions.com\/?attachment_id=5058\" class=\"wp-image-5058\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/09\/dict7.png 572w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/09\/dict7-300x95.png 300w\" sizes=\"auto, (max-width: 572px) 100vw, 572px\" \/><\/figure><\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Delete dictionary<\/strong>:<\/h4>\n\n\n\n<p>We can use the <strong>del<\/strong> method to delete the full dictionary.<\/p>\n\n\n\n<ul class=\"wp-block-gallery columns-1 is-cropped wp-block-gallery-8 is-layout-flex wp-block-gallery-is-layout-flex\"><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"578\" height=\"142\" src=\"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2019\/09\/dict8.png\" alt=\"\" data-id=\"5059\" data-link=\"https:\/\/blog.pheonixsolutions.com\/?attachment_id=5059\" class=\"wp-image-5059\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/09\/dict8.png 578w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/09\/dict8-300x74.png 300w\" sizes=\"auto, (max-width: 578px) 100vw, 578px\" \/><\/figure><\/li><\/ul>\n\n\n\n<p> Thanks for using&nbsp;<a href=\"https:\/\/pheonixsolutions.com\/\">Pheonix solutions<\/a>.<\/p>\n\n\n\n<p> You find this tutorial helpful? Share with your friends.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Python Dictionary Operations Date: 19\/09\/2019 In this tutorial, I going to explain the basics of python dictionary operations and methods. INTRODUCTION Python dictionary is an unordered collection of items and also it contains key-value pairs and enclosed by curly-braces { }. Each key-value pair in a python dictionary is separated&hellip; <a href=\"https:\/\/pheonixsolutions.com\/blog\/python-dictionary-operations\/\" class=\"more-link read-more\" rel=\"bookmark\">Continue Reading <span class=\"screen-reader-text\">Python Dictionary Operations<\/span><i class=\"fa fa-arrow-right\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[259],"tags":[713,714,292],"class_list":{"0":"post-5049","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-python","7":"tag-dictionary","8":"tag-dictionary-operations","9":"tag-python","10":"h-entry","12":"h-as-article"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Pheonix Solutions - We Empower Your Business Growth<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/pheonixsolutions.com\/blog\/python-dictionary-operations\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Pheonix Solutions - We Empower Your Business Growth\" \/>\n<meta property=\"og:description\" content=\"Python Dictionary Operations Date: 19\/09\/2019 In this tutorial, I going to explain the basics of python dictionary operations and methods. INTRODUCTION Python dictionary is an unordered collection of items and also it contains key-value pairs and enclosed by curly-braces { }. Each key-value pair in a python dictionary is separated&hellip; Continue Reading Python Dictionary Operations\" \/>\n<meta property=\"og:url\" content=\"https:\/\/pheonixsolutions.com\/blog\/python-dictionary-operations\/\" \/>\n<meta property=\"og:site_name\" content=\"PHEONIXSOLUTIONS\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/PheonixSolutions-209942982759387\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-09-19T04:28:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-09-23T05:11:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2019\/09\/emptydict_p1.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@pheonixsolution\" \/>\n<meta name=\"twitter:site\" content=\"@pheonixsolution\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/python-dictionary-operations\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/python-dictionary-operations\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/0ffa33d73c869faec2d50e79c24e3503\"},\"headline\":\"Python Dictionary Operations\",\"datePublished\":\"2019-09-19T04:28:07+00:00\",\"dateModified\":\"2019-09-23T05:11:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/python-dictionary-operations\\\/\"},\"wordCount\":264,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/python-dictionary-operations\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blog.pheonixsolutions.com\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/emptydict_p1.png\",\"keywords\":[\"dictionary\",\"dictionary operations\",\"python\"],\"articleSection\":[\"Python\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/python-dictionary-operations\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/python-dictionary-operations\\\/\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/python-dictionary-operations\\\/\",\"name\":\"Pheonix Solutions - We Empower Your Business Growth\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/python-dictionary-operations\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/python-dictionary-operations\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blog.pheonixsolutions.com\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/emptydict_p1.png\",\"datePublished\":\"2019-09-19T04:28:07+00:00\",\"dateModified\":\"2019-09-23T05:11:56+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/python-dictionary-operations\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/python-dictionary-operations\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/python-dictionary-operations\\\/#primaryimage\",\"url\":\"https:\\\/\\\/blog.pheonixsolutions.com\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/emptydict_p1.png\",\"contentUrl\":\"https:\\\/\\\/blog.pheonixsolutions.com\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/emptydict_p1.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/python-dictionary-operations\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python Dictionary Operations\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/\",\"name\":\"Pheonix Solutions\",\"description\":\"We Empower Your Business Growth\",\"publisher\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#organization\",\"name\":\"PheonixSolutions\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/12\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/12\\\/logo.png\",\"width\":454,\"height\":300,\"caption\":\"PheonixSolutions\"},\"image\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/PheonixSolutions-209942982759387\\\/\",\"https:\\\/\\\/x.com\\\/pheonixsolution\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/0ffa33d73c869faec2d50e79c24e3503\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"http:\\\/\\\/blog.pheonixsolutions.com\"],\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Pheonix Solutions - We Empower Your Business Growth","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/pheonixsolutions.com\/blog\/python-dictionary-operations\/","og_locale":"en_US","og_type":"article","og_title":"Pheonix Solutions - We Empower Your Business Growth","og_description":"Python Dictionary Operations Date: 19\/09\/2019 In this tutorial, I going to explain the basics of python dictionary operations and methods. INTRODUCTION Python dictionary is an unordered collection of items and also it contains key-value pairs and enclosed by curly-braces { }. Each key-value pair in a python dictionary is separated&hellip; Continue Reading Python Dictionary Operations","og_url":"https:\/\/pheonixsolutions.com\/blog\/python-dictionary-operations\/","og_site_name":"PHEONIXSOLUTIONS","article_publisher":"https:\/\/www.facebook.com\/PheonixSolutions-209942982759387\/","article_published_time":"2019-09-19T04:28:07+00:00","article_modified_time":"2019-09-23T05:11:56+00:00","og_image":[{"url":"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2019\/09\/emptydict_p1.png","type":"","width":"","height":""}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@pheonixsolution","twitter_site":"@pheonixsolution","twitter_misc":{"Written by":"admin","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pheonixsolutions.com\/blog\/python-dictionary-operations\/#article","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/blog\/python-dictionary-operations\/"},"author":{"name":"admin","@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/person\/0ffa33d73c869faec2d50e79c24e3503"},"headline":"Python Dictionary Operations","datePublished":"2019-09-19T04:28:07+00:00","dateModified":"2019-09-23T05:11:56+00:00","mainEntityOfPage":{"@id":"https:\/\/pheonixsolutions.com\/blog\/python-dictionary-operations\/"},"wordCount":264,"commentCount":0,"publisher":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#organization"},"image":{"@id":"https:\/\/pheonixsolutions.com\/blog\/python-dictionary-operations\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2019\/09\/emptydict_p1.png","keywords":["dictionary","dictionary operations","python"],"articleSection":["Python"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/pheonixsolutions.com\/blog\/python-dictionary-operations\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/pheonixsolutions.com\/blog\/python-dictionary-operations\/","url":"https:\/\/pheonixsolutions.com\/blog\/python-dictionary-operations\/","name":"Pheonix Solutions - We Empower Your Business Growth","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/pheonixsolutions.com\/blog\/python-dictionary-operations\/#primaryimage"},"image":{"@id":"https:\/\/pheonixsolutions.com\/blog\/python-dictionary-operations\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2019\/09\/emptydict_p1.png","datePublished":"2019-09-19T04:28:07+00:00","dateModified":"2019-09-23T05:11:56+00:00","breadcrumb":{"@id":"https:\/\/pheonixsolutions.com\/blog\/python-dictionary-operations\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/pheonixsolutions.com\/blog\/python-dictionary-operations\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/pheonixsolutions.com\/blog\/python-dictionary-operations\/#primaryimage","url":"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2019\/09\/emptydict_p1.png","contentUrl":"https:\/\/blog.pheonixsolutions.com\/wp-content\/uploads\/2019\/09\/emptydict_p1.png"},{"@type":"BreadcrumbList","@id":"https:\/\/pheonixsolutions.com\/blog\/python-dictionary-operations\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/pheonixsolutions.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Python Dictionary Operations"}]},{"@type":"WebSite","@id":"https:\/\/pheonixsolutions.com\/blog\/#website","url":"https:\/\/pheonixsolutions.com\/blog\/","name":"Pheonix Solutions","description":"We Empower Your Business Growth","publisher":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pheonixsolutions.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/pheonixsolutions.com\/blog\/#organization","name":"PheonixSolutions","url":"https:\/\/pheonixsolutions.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2016\/12\/logo.png","contentUrl":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2016\/12\/logo.png","width":454,"height":300,"caption":"PheonixSolutions"},"image":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/PheonixSolutions-209942982759387\/","https:\/\/x.com\/pheonixsolution"]},{"@type":"Person","@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/person\/0ffa33d73c869faec2d50e79c24e3503","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g","caption":"admin"},"sameAs":["http:\/\/blog.pheonixsolutions.com"],"url":"https:\/\/pheonixsolutions.com\/blog\/author\/admin\/"}]}},"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p7F4uM-1jr","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/5049","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=5049"}],"version-history":[{"count":0,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/5049\/revisions"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=5049"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=5049"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=5049"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}