{"id":22299,"date":"2020-09-07T11:35:02","date_gmt":"2020-09-07T18:35:02","guid":{"rendered":"https:\/\/careerkarma.com\/blog\/?p=22299"},"modified":"2023-12-01T03:59:26","modified_gmt":"2023-12-01T11:59:26","slug":"python-pad-zeros","status":"publish","type":"post","link":"https:\/\/careerkarma.com\/blog\/python-pad-zeros\/","title":{"rendered":"Python: Pad Zeros"},"content":{"rendered":"\n<p>Some numbers need to begin with a zero or multiple zeros. For instance, a user ID may need to have a certain number of zeros at the start if it is under a certain number so all ID numbers are the same length.<br><\/p>\n\n\n\n<p>You can pad a string with zeros using the zfill() function. You can pad a number with zeros using string formatting. This guide walks you through an example of how to pad zeros to a string and an integer.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Python: Pad Zeros to a String<\/h2>\n\n\n\n<p>Write a program that verifies whether a raffle ticket number is a winner. Each raffle ticket number contains three numbers like this:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>022<\/pre><\/div>\n\n\n\n<p>Our program will ask a user to insert a number. If the number a user inserts is less than 100, a zero will be added to the start of the number. This will ensure our program can compare the number a user inserts to the winning ticket numbers.<br><\/p>\n\n\n\n<p>Start by <a href=\"https:\/\/careerkarma.com\/blog\/python-array\/\">defining a list of winning ticket numbers<\/a>:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>winners = [&quot;033&quot;, &quot;087&quot;, &quot;183&quot;, &quot;173&quot;, &quot;012&quot;]<\/pre><\/div>\n\n\n\n<p>Each ticket number is formatted as a string. Next, ask the user to insert a number using the <a href=\"https:\/\/careerkarma.com\/blog\/python-input\/\">input() method<\/a>:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>to_check = input(&quot;Insert a number that you want to check: &quot;)<\/pre><\/div>\n\n\n\n<p>The number the user inserts is the one that you\u2019ll try to find in the list of winners. This value is formatted as a string.<br><\/p>\n\n\n\n<p>A user may not insert a number that is three characters long. To make sure that the raffle number that a user inserts into the program is correctly formatted, use the <code>zfill()<\/code> method. This method adds zeros to the start of a number.<br><\/p>\n\n\n\n<p>Because the raffle ticket numbers are three characters long, you\u2019re going to use the value 3 as a parameter with the <a href=\"https:\/\/careerkarma.com\/blog\/python-string-methods\/\">zfill() method<\/a>:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>to_check = to_check.zfill(3)<\/pre><\/div>\n\n\n\n<p>This method will make sure the value of \u201cto_check\u201d is correctly formatted. The value 3 reflects how many numbers should be in \u201cto_check\u201d. It does not reflect how many zeros should be padded to the value.<br><\/p>\n\n\n\n<p>Next, use an <a href=\"https:\/\/careerkarma.com\/blog\/python-if-else\/\">\u201cif\u201d statement<\/a> with the \u201cin\u201d operator to check if the value of \u201cto_check\u201d appears in the list of winning raffle ticket numbers:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>if to_check in winners:\n \t    print(&quot;Ticket #{} is a winner.&quot;.format(to_check))\nelse:\n\t    print(&quot;Ticket #{} is not a winner.&quot;.format(to_check))<\/pre><\/div>\n\n\n\n<p>If the ticket corresponds to a winning number, the <code>if<\/code> statement runs; otherwise, the <code>else<\/code> statement runs. Execute the code and see what happens:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>Insert a number that you want to check: 33\nTicket #033 is a winner.<\/pre><\/div>\n\n\n\n<p>Our code has successfully identified that ticket #033 is a winner. See what happens if the number you insert into the program does not correspond to a winning ticket:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>Insert a number that you want to check: 182\nTicket #182 is not a winner.<\/pre><\/div>\n\n\n\n<p>The program informs you that the ticket is not a winner.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Python: Pad Zeros to a Number<\/h2>\n\n\n\n<p><em>Note: The below example only works in Python 2.7 and in later versions of Python.<\/em><br><\/p>\n\n\n\n<p>In the first example, you padded zeros to a value that was stored as a string. If you want to pad zeros to a number, there is another approach to use.<br><\/p>\n\n\n\n<p>Suppose you are generating a list of employee identifier codes. These are used to identify each employee who works for a business. Each ID number should start with three numbers and end in the surname of an employee.<br><\/p>\n\n\n\n<p>To start, ask a user to insert the numbers that should appear at the start of an employee ID. You\u2019ll also ask the user for the name of an employee:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>id_numbers = int(input(&quot;Enter the ID number of the employee: &quot;))\nsurname = input(&quot;Enter the surname of the employee: &quot;)<\/pre><\/div>\n\n\n\n<p>Next, format these values into a string. Use the <a href=\"https:\/\/careerkarma.com\/blog\/python-f-string\/\">.format() method<\/a> to do this:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>print(&quot;The employee identifier for {} is {:03d}{}.&quot;.format(surname, id_numbers, surname))<\/pre><\/div>\n\n\n\n<p>The curly braces represent values to be substituted in your string.<br><\/p>\n\n\n\n<p>The first set of curly brackets will be replaced with the surname of an employee. The second set of curly braces will be replaced with the value of \u201cid_numbers&#8221;. If the number a user inserts is less than three numbers long, zeros will be added to this value.<br><\/p>\n\n\n\n<p>The last set of curly braces represents the final part of an employee identifier which is their surname. Let&#8217;s run our program:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>Enter the ID number of the employee: 823\nEnter the surname of the employee: SMITH\nThe employee identifier for SMITH is 823SMITH.<\/pre><\/div>\n\n\n\n<p>Our program works. In this case, you\u2019ve inserted an ID number that is three digits long. Let\u2019s see what happens if you try to insert an ID number that is only two digits long:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>Enter the ID number of the employee: 78\nEnter the surname of the employee: JONES\nThe employee identifier for JONES is 078JONES.<\/pre><\/div>\n\n\n\n<p>Our program still generates an identifier in the format described. Each identifier contains three numbers followed by the surname of an employee.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>You can use the <code>zfill()<\/code> method to pad zeros to the front of a Python string. You can use the <code>.format()<\/code> method to pad zeros to an integer value.<br><\/p>\n\n\n\n<p>Now you\u2019re ready to add zeros to the start of value in Python like an expert coder!<\/p>\n","protected":false},"excerpt":{"rendered":"Some numbers need to begin with a zero or multiple zeros. For instance, a user ID may need to have a certain number of zeros at the start if it is under a certain number so all ID numbers are the same length. You can pad a string with zeros using the zfill() function. You&hellip;","protected":false},"author":240,"featured_media":18090,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[16578],"tags":[],"class_list":{"0":"post-22299","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: Pad Zeros | Career Karma<\/title>\n<meta name=\"description\" content=\"On Career Karma, learn how to pad zeros to a string in Python using the zfill() method and how to pad zeros to a number using string formatting.\" \/>\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-pad-zeros\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python: Pad Zeros\" \/>\n<meta property=\"og:description\" content=\"On Career Karma, learn how to pad zeros to a string in Python using the zfill() method and how to pad zeros to a number using string formatting.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/careerkarma.com\/blog\/python-pad-zeros\/\" \/>\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-09-07T18:35:02+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-01T11:59:26+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2019\/07\/kelly-sikkema-YK0HPwWDJ1I-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-pad-zeros\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-pad-zeros\/\"},\"author\":{\"name\":\"James Gallagher\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"headline\":\"Python: Pad Zeros\",\"datePublished\":\"2020-09-07T18:35:02+00:00\",\"dateModified\":\"2023-12-01T11:59:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-pad-zeros\/\"},\"wordCount\":725,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-pad-zeros\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2019\/07\/kelly-sikkema-YK0HPwWDJ1I-unsplash.jpg\",\"articleSection\":[\"Python\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/careerkarma.com\/blog\/python-pad-zeros\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-pad-zeros\/\",\"url\":\"https:\/\/careerkarma.com\/blog\/python-pad-zeros\/\",\"name\":\"Python: Pad Zeros | Career Karma\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-pad-zeros\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-pad-zeros\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2019\/07\/kelly-sikkema-YK0HPwWDJ1I-unsplash.jpg\",\"datePublished\":\"2020-09-07T18:35:02+00:00\",\"dateModified\":\"2023-12-01T11:59:26+00:00\",\"author\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"description\":\"On Career Karma, learn how to pad zeros to a string in Python using the zfill() method and how to pad zeros to a number using string formatting.\",\"breadcrumb\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-pad-zeros\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/careerkarma.com\/blog\/python-pad-zeros\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-pad-zeros\/#primaryimage\",\"url\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2019\/07\/kelly-sikkema-YK0HPwWDJ1I-unsplash.jpg\",\"contentUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2019\/07\/kelly-sikkema-YK0HPwWDJ1I-unsplash.jpg\",\"width\":1020,\"height\":680,\"caption\":\"Woman wearing black shirt sitting at desk, working on computer\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-pad-zeros\/#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: Pad Zeros\"}]},{\"@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: Pad Zeros | Career Karma","description":"On Career Karma, learn how to pad zeros to a string in Python using the zfill() method and how to pad zeros to a number using string formatting.","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-pad-zeros\/","og_locale":"en_US","og_type":"article","og_title":"Python: Pad Zeros","og_description":"On Career Karma, learn how to pad zeros to a string in Python using the zfill() method and how to pad zeros to a number using string formatting.","og_url":"https:\/\/careerkarma.com\/blog\/python-pad-zeros\/","og_site_name":"Career Karma","article_publisher":"http:\/\/facebook.com\/careerkarmaapp","article_published_time":"2020-09-07T18:35:02+00:00","article_modified_time":"2023-12-01T11:59:26+00:00","og_image":[{"width":1020,"height":680,"url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2019\/07\/kelly-sikkema-YK0HPwWDJ1I-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-pad-zeros\/#article","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/python-pad-zeros\/"},"author":{"name":"James Gallagher","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"headline":"Python: Pad Zeros","datePublished":"2020-09-07T18:35:02+00:00","dateModified":"2023-12-01T11:59:26+00:00","mainEntityOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-pad-zeros\/"},"wordCount":725,"commentCount":0,"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-pad-zeros\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2019\/07\/kelly-sikkema-YK0HPwWDJ1I-unsplash.jpg","articleSection":["Python"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/careerkarma.com\/blog\/python-pad-zeros\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/careerkarma.com\/blog\/python-pad-zeros\/","url":"https:\/\/careerkarma.com\/blog\/python-pad-zeros\/","name":"Python: Pad Zeros | Career Karma","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-pad-zeros\/#primaryimage"},"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-pad-zeros\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2019\/07\/kelly-sikkema-YK0HPwWDJ1I-unsplash.jpg","datePublished":"2020-09-07T18:35:02+00:00","dateModified":"2023-12-01T11:59:26+00:00","author":{"@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"description":"On Career Karma, learn how to pad zeros to a string in Python using the zfill() method and how to pad zeros to a number using string formatting.","breadcrumb":{"@id":"https:\/\/careerkarma.com\/blog\/python-pad-zeros\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/careerkarma.com\/blog\/python-pad-zeros\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/python-pad-zeros\/#primaryimage","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2019\/07\/kelly-sikkema-YK0HPwWDJ1I-unsplash.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2019\/07\/kelly-sikkema-YK0HPwWDJ1I-unsplash.jpg","width":1020,"height":680,"caption":"Woman wearing black shirt sitting at desk, working on computer"},{"@type":"BreadcrumbList","@id":"https:\/\/careerkarma.com\/blog\/python-pad-zeros\/#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: Pad Zeros"}]},{"@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\/22299","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=22299"}],"version-history":[{"count":0,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/22299\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media\/18090"}],"wp:attachment":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media?parent=22299"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/categories?post=22299"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/tags?post=22299"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}