{"id":12847,"date":"2020-11-22T19:41:51","date_gmt":"2020-11-23T03:41:51","guid":{"rendered":"https:\/\/careerkarma.com\/blog\/?p=12847"},"modified":"2023-12-01T04:04:16","modified_gmt":"2023-12-01T12:04:16","slug":"python-sum","status":"publish","type":"post","link":"https:\/\/careerkarma.com\/blog\/python-sum\/","title":{"rendered":"Python Sum: A Step-By-Step Guide"},"content":{"rendered":"\n<p><em>The Python sum() function calculates the total of all numerical values in an iterable. sum() works with both integers and floating-point numbers. The sum() function has an optional parameter to add a number to the total.<\/em><\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>alculating the sum of a list is a common operation in Python. For example, let\u2019s say you are a coffee shop owner who wants to know the total value of all sales made last month. You could use the <em>sum()<\/em> function to perform this calculation.<\/p>\n\n\n\n<p>In Python code, the <em>sum()<\/em> function can be used to calculate the sum of all values in an iterable object. This method is useful when you need the total value of a list of items, which is common in a number of mathematical calculations.<\/p>\n\n\n\n<p>In this tutorial, we are going to discuss how to use the Python <em>sum()<\/em> method. We\u2019ll go through a few examples to showcase how this method works in a real program.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Python Sum Syntax<\/h2>\n\n\n\n<p>The Python sum() function adds up all the numerical values in an iterable, such as a list, and returns the total of those values. sum() calculates the total of both floating-point numbers and integers.<\/p>\n\n\n\n<p>For instance, you could use the <em>sum()<\/em> method to calculate the total price of the products a customer purchases at a store.<\/p>\n\n\n\n<p>Here\u2019s the syntax for the Python <em>sum()<\/em> method:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>sum(iterable_object, start_value)<\/pre><\/div>\n\n\n\n<p>The function <em>sum()<\/em> takes in two parameters:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>The iterable object that you would like to calculate the total of (required)<\/li><li>An extra number that you want to add to the value you\u2019re calculating (optional)<\/li><\/ul>\n\n\n\n<p>Let\u2019s use an example to illustrate how the Python <em>sum()<\/em> function works. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Sum Python Example<\/h2>\n\n\n\n<p>Let\u2019s say that we operate a local store and want to calculate the total amount to charge a customer for their shopping. We already have a list containing the prices of each individual product, but now we want to get the total value of that list.<\/p>\n\n\n\n<p>We could use the <em>sum()<\/em> function for this purpose. Here\u2019s an example of the <em>sum()<\/em> function being used to calculate the total cost of a customer\u2019s shopping:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>products_purchased = [5.40, 2.20, 9.95, 1.50, 1.50, 2.20, 4.65, 3.00, 2.00]\n\ntotal_price = sum(products_purchased)\nprint(total_price)<\/pre><\/div>\n\n\n\n<p>Our program returns the sum: 32.40. Let\u2019s break down our code and discuss how it works.<\/p>\n\n\n\n<p>On the first line, we declare a <a href=\"https:\/\/careerkarma.com\/blog\/python-variables\/\">Python variable<\/a> called <em>products_purchased<\/em> which stores the prices of each product a customer has purchased.<\/p>\n\n\n\n<p>On the next line, we calculate the total price of the customer\u2019s shop by using the <em>sum()<\/em> function on our <em>products_purchased<\/em> <a href=\"https:\/\/careerkarma.com\/blog\/python-array\/\">Python array<\/a>. Next, our program prints out the total price of the customer\u2019s shop that has been calculated using <em>sum()<\/em>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Python Sum Function: Using a Tuple<\/h3>\n\n\n\n<p>In the above example, we have used <em>sum()<\/em> to calculate the total value of several items in a list. But if our values were stored in a <a href=\"https:\/\/careerkarma.com\/blog\/python-tuples\/\">Python tuple<\/a>, we could also have used <em>sum()<\/em>. Here\u2019s an example of <em>sum()<\/em> being used to calculate the total value of a tuple:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>products_purchased = (5.40, 2.20, 9.95, 1.50, 1.50, 2.20, 4.65, 3.00, 2.00)\n\ntotal_price = sum(products_purchased)\nprint(total_price)<\/pre><\/div>\n\n\n\n<p>Our code returns: 32.40. This program is almost exactly the same as the one above. The only difference being that our <em>products_purchased<\/em> variable has been assigned a tuple rather than a list.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">sum in Python Second Argument<\/h2>\n\n\n\n<p>The <em>sum()<\/em> function takes in an optional second parameter which adds a number to the final total calculated by the method.<\/p>\n\n\n\n<p>Let\u2019s say that a customer has decided to purchase a bag after their groceries have been scanned. Each bag costs $1. To add the $1 bag to the customer\u2019s total, you could specify a second parameter in the <em>sum()<\/em> method.&nbsp;<\/p>\n\n\n\n<p>Here\u2019s the code that we could use to calculate the price of a customer\u2019s purchase, in addition to the $1 bag they have bought:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>products_purchased = [2.00, 3.00, 4.00]\n\ntotal_price = sum(products_purchased, 1.00)\nprint(total_price)<\/pre><\/div>\n\n\n\n<p>Our program returns: 10.00. When our final value <em>1<\/em> is added to the <em>sum()<\/em> method, it is added and so our program returns 10.00.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>The <em>sum()<\/em> method can be used in Python to calculate the total of the items stored in an iterable object. For example, <em>sum()<\/em> could be used to calculate the cost of your coffee shop order.<\/p>\n\n\n\n<p>In this tutorial, we explored how to use the <em>sum()<\/em> function in Python. Then, we discussed how to use the second parameter offered by <em>sum()<\/em> to add more values to the total calculation. Now you\u2019re equipped with the knowledge you need to use the <em>sum()<\/em> method in Python like a pro!<\/p>\n\n\n\n<p>To learn more about coding in Python, read our <a href=\"https:\/\/careerkarma.com\/blog\/how-to-learn-python\/\">How to Learn Python guide<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"The Python sum() function calculates the total of all numerical values in an iterable. sum() works with both integers and floating-point numbers. The sum() function has an optional parameter to add a number to the total. alculating the sum of a list is a common operation in Python. For example, let\u2019s say you are a&hellip;","protected":false},"author":240,"featured_media":12848,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[16578],"tags":[],"class_list":{"0":"post-12847","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-python"},"acf":{"post_sub_title":"","sprint_id":"","query_class":"Python","school_sft":"","parent_sft":"","school_privacy_policy":"","has_review":null,"is_sponser_post":"","is_guest_post":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Python Sum: A Step-By-Step Guide | Career Karma<\/title>\n<meta name=\"description\" content=\"The Python sum() method is used to calculate the total of all values in an iterable object. Learn how to use the sum() method on Career Karma.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/careerkarma.com\/blog\/python-sum\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python Sum: A Step-By-Step Guide\" \/>\n<meta property=\"og:description\" content=\"The Python sum() method is used to calculate the total of all values in an iterable object. Learn how to use the sum() method on Career Karma.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/careerkarma.com\/blog\/python-sum\/\" \/>\n<meta property=\"og:site_name\" content=\"Career Karma\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/facebook.com\/careerkarmaapp\" \/>\n<meta property=\"article:published_time\" content=\"2020-11-23T03:41:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-01T12:04:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/blur-business-close-up-code-270557.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"666\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"James Gallagher\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@career_karma\" \/>\n<meta name=\"twitter:site\" content=\"@career_karma\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"James Gallagher\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-sum\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-sum\\\/\"},\"author\":{\"name\":\"James Gallagher\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#\\\/schema\\\/person\\\/e79364792443fbff794a144c67ec8e94\"},\"headline\":\"Python Sum: A Step-By-Step Guide\",\"datePublished\":\"2020-11-23T03:41:51+00:00\",\"dateModified\":\"2023-12-01T12:04:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-sum\\\/\"},\"wordCount\":745,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-sum\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/blur-business-close-up-code-270557.jpg\",\"articleSection\":[\"Python\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-sum\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-sum\\\/\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-sum\\\/\",\"name\":\"Python Sum: A Step-By-Step Guide | Career Karma\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-sum\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-sum\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/blur-business-close-up-code-270557.jpg\",\"datePublished\":\"2020-11-23T03:41:51+00:00\",\"dateModified\":\"2023-12-01T12:04:16+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#\\\/schema\\\/person\\\/e79364792443fbff794a144c67ec8e94\"},\"description\":\"The Python sum() method is used to calculate the total of all values in an iterable object. Learn how to use the sum() method on Career Karma.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-sum\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-sum\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-sum\\\/#primaryimage\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/blur-business-close-up-code-270557.jpg\",\"contentUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/blur-business-close-up-code-270557.jpg\",\"width\":1000,\"height\":666},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python-sum\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python\",\"item\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/python\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Python Sum: A Step-By-Step Guide\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/\",\"name\":\"Career Karma\",\"description\":\"Latest Coding Bootcamp News &amp; Career Hacks from Industry Insiders\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#\\\/schema\\\/person\\\/e79364792443fbff794a144c67ec8e94\",\"name\":\"James Gallagher\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/james-gallagher-150x150.jpg\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/james-gallagher-150x150.jpg\",\"contentUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/james-gallagher-150x150.jpg\",\"caption\":\"James Gallagher\"},\"description\":\"James Gallagher is a self-taught programmer and the technical content manager at Career Karma. He has experience in range of programming languages and extensive expertise in Python, HTML, CSS, and JavaScript. James has written hundreds of programming tutorials, and he frequently contributes to publications like Codecademy, Treehouse, Repl.it, Afrotech, and others.\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/author\\\/jamesgallagher\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Python Sum: A Step-By-Step Guide | Career Karma","description":"The Python sum() method is used to calculate the total of all values in an iterable object. Learn how to use the sum() method on Career Karma.","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:\/\/careerkarma.com\/blog\/python-sum\/","og_locale":"en_US","og_type":"article","og_title":"Python Sum: A Step-By-Step Guide","og_description":"The Python sum() method is used to calculate the total of all values in an iterable object. Learn how to use the sum() method on Career Karma.","og_url":"https:\/\/careerkarma.com\/blog\/python-sum\/","og_site_name":"Career Karma","article_publisher":"http:\/\/facebook.com\/careerkarmaapp","article_published_time":"2020-11-23T03:41:51+00:00","article_modified_time":"2023-12-01T12:04:16+00:00","og_image":[{"width":1000,"height":666,"url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/blur-business-close-up-code-270557.jpg","type":"image\/jpeg"}],"author":"James Gallagher","twitter_card":"summary_large_image","twitter_creator":"@career_karma","twitter_site":"@career_karma","twitter_misc":{"Written by":"James Gallagher","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/careerkarma.com\/blog\/python-sum\/#article","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/python-sum\/"},"author":{"name":"James Gallagher","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"headline":"Python Sum: A Step-By-Step Guide","datePublished":"2020-11-23T03:41:51+00:00","dateModified":"2023-12-01T12:04:16+00:00","mainEntityOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-sum\/"},"wordCount":745,"commentCount":0,"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-sum\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/blur-business-close-up-code-270557.jpg","articleSection":["Python"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/careerkarma.com\/blog\/python-sum\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/careerkarma.com\/blog\/python-sum\/","url":"https:\/\/careerkarma.com\/blog\/python-sum\/","name":"Python Sum: A Step-By-Step Guide | Career Karma","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-sum\/#primaryimage"},"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-sum\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/blur-business-close-up-code-270557.jpg","datePublished":"2020-11-23T03:41:51+00:00","dateModified":"2023-12-01T12:04:16+00:00","author":{"@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"description":"The Python sum() method is used to calculate the total of all values in an iterable object. Learn how to use the sum() method on Career Karma.","breadcrumb":{"@id":"https:\/\/careerkarma.com\/blog\/python-sum\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/careerkarma.com\/blog\/python-sum\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/python-sum\/#primaryimage","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/blur-business-close-up-code-270557.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/03\/blur-business-close-up-code-270557.jpg","width":1000,"height":666},{"@type":"BreadcrumbList","@id":"https:\/\/careerkarma.com\/blog\/python-sum\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/careerkarma.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Python","item":"https:\/\/careerkarma.com\/blog\/python\/"},{"@type":"ListItem","position":3,"name":"Python Sum: A Step-By-Step Guide"}]},{"@type":"WebSite","@id":"https:\/\/careerkarma.com\/blog\/#website","url":"https:\/\/careerkarma.com\/blog\/","name":"Career Karma","description":"Latest Coding Bootcamp News &amp; Career Hacks from Industry Insiders","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/careerkarma.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94","name":"James Gallagher","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg","caption":"James Gallagher"},"description":"James Gallagher is a self-taught programmer and the technical content manager at Career Karma. He has experience in range of programming languages and extensive expertise in Python, HTML, CSS, and JavaScript. James has written hundreds of programming tutorials, and he frequently contributes to publications like Codecademy, Treehouse, Repl.it, Afrotech, and others.","url":"https:\/\/careerkarma.com\/blog\/author\/jamesgallagher\/"}]}},"_links":{"self":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/12847","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/users\/240"}],"replies":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/comments?post=12847"}],"version-history":[{"count":0,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/12847\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media\/12848"}],"wp:attachment":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media?parent=12847"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/categories?post=12847"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/tags?post=12847"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}