{"id":21929,"date":"2020-08-31T11:42:28","date_gmt":"2020-08-31T18:42:28","guid":{"rendered":"https:\/\/careerkarma.com\/blog\/?p=21929"},"modified":"2023-12-01T03:59:01","modified_gmt":"2023-12-01T11:59:01","slug":"python-initialize-list-of-size-n","status":"publish","type":"post","link":"https:\/\/careerkarma.com\/blog\/python-initialize-list-of-size-n\/","title":{"rendered":"Python: Initialize List of Size N"},"content":{"rendered":"\n<p>You cannot assign items to a list at positions that do not exist. This is because lists are indexed from zero and new index positions increment by one each time an item is added to a list.<br><\/p>\n\n\n\n<p>This means if you want to add items to a particular position in a list, there needs to be a placeholder value in that position.<br><\/p>\n\n\n\n<p>In this guide, we discuss how to initialize a list of size <code>n<\/code> in Python. We walk through an example of how to do this so you can initialize lists with custom sizes in your programs.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Python: Initialize List of Size N Using Multiplication<\/h2>\n\n\n\n<p>We\u2019re going to build a leaderboard application that tracks the positions of the winners of a math tournament. This leaderboard will display the last eight students in the tournament.<br><\/p>\n\n\n\n<p>Students are added in descending order. This is because the first student in the list is the winner and the eighth student is in the eighth place.<br><\/p>\n\n\n\n<p>To start, <a href=\"https:\/\/careerkarma.com\/blog\/how-to-initialize-a-list-in-python\/\">create an empty list in Python<\/a>:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>leaderboard = [None] * 8\nprint(leaderboard)<\/pre><\/div>\n\n\n\n<p>This code creates a list object with eight values. Each of the values in the list will be equal to None.<br><\/p>\n\n\n\n<p>Our code returns our list of None values:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>[None, None, None, None, None, None, None, None]<\/pre><\/div>\n\n\n\n<p>The value None could be substituted with any default value that you want. For instance, you could make each default value an empty <a href=\"https:\/\/careerkarma.com\/blog\/python-string-methods\/\">string<\/a> (\u201c\u201d), the number zero (0), or something else.<br><\/p>\n\n\n\n<p>The quarter-final has just completed and two contestants have been eliminated. The following contestants can now be added to our leaderboard:<br><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Chad (seventh place)<\/li><li>Eileen (eighth place)<\/li><\/ul>\n\n\n\n<p>To add these students to our list, we use the <a href=\"https:\/\/careerkarma.com\/blog\/python-array\/\">assignment notation<\/a>:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>leaderboard[7] = &quot;Eileen&quot;\nleaderboard[6] = &quot;Chad&quot;<\/pre><\/div>\n\n\n\n<p>We set the value of the item at position 7 to Eileen and the value at position 6 to Chad. This is because lists are indexed from zero. The first item in our list has the value 0 and the last item has the value 7. This means Eileen is last in our list and Chad is second from last.<br><\/p>\n\n\n\n<p>Next, let\u2019s write a <a href=\"https:\/\/careerkarma.com\/blog\/python-for-loop\/\">\u201cfor\u201d loop<\/a> that displays all the positions in our leaderboard and the people who currently hold that position:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>for l in range(0, len(leaderboard)):\n\t\t if leaderboard[l] != None:\n\t\t         value = leaderboard[l]\n\t     else:\n\t\t         value = &quot;TBD&quot;\n\n\t     print(&quot;{}: {}&quot;.format(l + 1, value))<\/pre><\/div>\n\n\n\n<p>We use a <a href=\"https:\/\/careerkarma.com\/blog\/python-range\/\">range() statement<\/a> to create a list of values between 0 and the length of the \u201cleaderboard\u201d list. This lets us iterate over our list of students in the leaderboard while keeping track of each position.<br><\/p>\n\n\n\n<p>In our loop, we check <a href=\"https:\/\/careerkarma.com\/blog\/python-if-else\/\">if the value at a particular position in the list is equal to None<\/a>. If it is not, the value at that position is assigned to the variable \u201cvalue\u201d. Otherwise, the value \u201cTBD\u201d is assigned to the variable \u201cvalue\u201d.<br><\/p>\n\n\n\n<p>Next, we print out the value of the \u201cvalue\u201d variable. We also print out the value of \u201cl\u201d plus one. This is because lists are indexed from zero and to show a rank we should add one to that value. Otherwise, our leaderboard would start from zero.<br><\/p>\n\n\n\n<p>Let\u2019s run our code and see what happens:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>[None, None, None, None, None, None, None, None]\n1: TBD\n2: TBD\n3: TBD\n4: TBD\n5: TBD\n6: TBD\n7: Chad\n8: Eileen<\/pre><\/div>\n\n\n\n<p>Our code first prints out a list of None values. Next, our code assigns values to the last two items in our list. Finally, our code prints out the positions in our leaderboard.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Python: Initialize List of Size N Using range()<\/h2>\n\n\n\n<p>We can initialize a list of size <code>n<\/code> using a <code>range()<\/code> statement. The difference between using a <code>range()<\/code> statement and the None method is that a <code>range()<\/code> statement will create a list of values between two numbers. By default, <code>range()<\/code> creates a list from 0 to a particular value.<br><\/p>\n\n\n\n<p>Let\u2019s initialize our leaderboard list using a <code>range()<\/code> statement:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>leaderboard = list(range(8))\nprint(leaderboard)<\/pre><\/div>\n\n\n\n<p>The <code>range()<\/code> statement creates a sequence of values between 0 and 7. We convert that sequence into a list so we can iterate over it. This is only necessary in Python 3.<br><\/p>\n\n\n\n<p>Our code returns a new list with eight values:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>[0, 1, 2, 3, 4, 5, 6, 7]<\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>You can initialize a list of a custom size using either multiplication or a <code>range()<\/code> statement.<br><\/p>\n\n\n\n<p>The multiplication method is best if you want to initialize a list with the same values. A <code>range()<\/code> statement is a good choice if you want a list to contain values in a particular range.<br><\/p>\n\n\n\n<p>Now you have the skills you need to initialize a Python list of size n like an expert!<\/p>\n","protected":false},"excerpt":{"rendered":"You cannot assign items to a list at positions that do not exist. This is because lists are indexed from zero and new index positions increment by one each time an item is added to a list. This means if you want to add items to a particular position in a list, there needs to&hellip;","protected":false},"author":240,"featured_media":21930,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[16578],"tags":[],"class_list":{"0":"post-21929","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.0 (Yoast SEO v27.0) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Python: Initialize List of Size N: A Complete Guide | Career Karma<\/title>\n<meta name=\"description\" content=\"To initialize a list of size n in Python, you can use multiplication syntax or a range() statement. On Career Karma, learn how to initialize empty lists of custom sizes.\" \/>\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-initialize-list-of-size-n\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python: Initialize List of Size N\" \/>\n<meta property=\"og:description\" content=\"To initialize a list of size n in Python, you can use multiplication syntax or a range() statement. On Career Karma, learn how to initialize empty lists of custom sizes.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/careerkarma.com\/blog\/python-initialize-list-of-size-n\/\" \/>\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-08-31T18:42:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-01T11:59:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/arnold-francisca-FBNxmwEVpAc-unsplash.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1020\" \/>\n\t<meta property=\"og:image:height\" content=\"680\" \/>\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-initialize-list-of-size-n\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-initialize-list-of-size-n\/\"},\"author\":{\"name\":\"James Gallagher\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"headline\":\"Python: Initialize List of Size N\",\"datePublished\":\"2020-08-31T18:42:28+00:00\",\"dateModified\":\"2023-12-01T11:59:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-initialize-list-of-size-n\/\"},\"wordCount\":688,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-initialize-list-of-size-n\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/arnold-francisca-FBNxmwEVpAc-unsplash.jpg\",\"articleSection\":[\"Python\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/careerkarma.com\/blog\/python-initialize-list-of-size-n\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-initialize-list-of-size-n\/\",\"url\":\"https:\/\/careerkarma.com\/blog\/python-initialize-list-of-size-n\/\",\"name\":\"Python: Initialize List of Size N: A Complete Guide | Career Karma\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-initialize-list-of-size-n\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-initialize-list-of-size-n\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/arnold-francisca-FBNxmwEVpAc-unsplash.jpg\",\"datePublished\":\"2020-08-31T18:42:28+00:00\",\"dateModified\":\"2023-12-01T11:59:01+00:00\",\"author\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"description\":\"To initialize a list of size n in Python, you can use multiplication syntax or a range() statement. On Career Karma, learn how to initialize empty lists of custom sizes.\",\"breadcrumb\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-initialize-list-of-size-n\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/careerkarma.com\/blog\/python-initialize-list-of-size-n\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-initialize-list-of-size-n\/#primaryimage\",\"url\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/arnold-francisca-FBNxmwEVpAc-unsplash.jpg\",\"contentUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/arnold-francisca-FBNxmwEVpAc-unsplash.jpg\",\"width\":1020,\"height\":680},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-initialize-list-of-size-n\/#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: Initialize List of Size N\"}]},{\"@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\/#\/schema\/person\/image\/\",\"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: Initialize List of Size N: A Complete Guide | Career Karma","description":"To initialize a list of size n in Python, you can use multiplication syntax or a range() statement. On Career Karma, learn how to initialize empty lists of custom sizes.","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-initialize-list-of-size-n\/","og_locale":"en_US","og_type":"article","og_title":"Python: Initialize List of Size N","og_description":"To initialize a list of size n in Python, you can use multiplication syntax or a range() statement. On Career Karma, learn how to initialize empty lists of custom sizes.","og_url":"https:\/\/careerkarma.com\/blog\/python-initialize-list-of-size-n\/","og_site_name":"Career Karma","article_publisher":"http:\/\/facebook.com\/careerkarmaapp","article_published_time":"2020-08-31T18:42:28+00:00","article_modified_time":"2023-12-01T11:59:01+00:00","og_image":[{"width":1020,"height":680,"url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/arnold-francisca-FBNxmwEVpAc-unsplash.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-initialize-list-of-size-n\/#article","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/python-initialize-list-of-size-n\/"},"author":{"name":"James Gallagher","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"headline":"Python: Initialize List of Size N","datePublished":"2020-08-31T18:42:28+00:00","dateModified":"2023-12-01T11:59:01+00:00","mainEntityOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-initialize-list-of-size-n\/"},"wordCount":688,"commentCount":0,"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-initialize-list-of-size-n\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/arnold-francisca-FBNxmwEVpAc-unsplash.jpg","articleSection":["Python"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/careerkarma.com\/blog\/python-initialize-list-of-size-n\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/careerkarma.com\/blog\/python-initialize-list-of-size-n\/","url":"https:\/\/careerkarma.com\/blog\/python-initialize-list-of-size-n\/","name":"Python: Initialize List of Size N: A Complete Guide | Career Karma","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-initialize-list-of-size-n\/#primaryimage"},"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-initialize-list-of-size-n\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/arnold-francisca-FBNxmwEVpAc-unsplash.jpg","datePublished":"2020-08-31T18:42:28+00:00","dateModified":"2023-12-01T11:59:01+00:00","author":{"@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"description":"To initialize a list of size n in Python, you can use multiplication syntax or a range() statement. On Career Karma, learn how to initialize empty lists of custom sizes.","breadcrumb":{"@id":"https:\/\/careerkarma.com\/blog\/python-initialize-list-of-size-n\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/careerkarma.com\/blog\/python-initialize-list-of-size-n\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/python-initialize-list-of-size-n\/#primaryimage","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/arnold-francisca-FBNxmwEVpAc-unsplash.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/arnold-francisca-FBNxmwEVpAc-unsplash.jpg","width":1020,"height":680},{"@type":"BreadcrumbList","@id":"https:\/\/careerkarma.com\/blog\/python-initialize-list-of-size-n\/#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: Initialize List of Size N"}]},{"@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\/#\/schema\/person\/image\/","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\/21929","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=21929"}],"version-history":[{"count":0,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/21929\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media\/21930"}],"wp:attachment":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media?parent=21929"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/categories?post=21929"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/tags?post=21929"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}