{"id":19907,"date":"2020-12-28T00:54:58","date_gmt":"2020-12-28T08:54:58","guid":{"rendered":"https:\/\/careerkarma.com\/blog\/?p=19907"},"modified":"2023-12-01T04:06:24","modified_gmt":"2023-12-01T12:06:24","slug":"python-not","status":"publish","type":"post","link":"https:\/\/careerkarma.com\/blog\/python-not\/","title":{"rendered":"How to Use the Python not Keyword"},"content":{"rendered":"\n<p><em>The Python not keyword returns True if a value is equal to False and vice versa. This keyword inverts the value of a Boolean. The not keyword can be used with an if statement to check if a value is not in a list.<\/em><\/p>\n\n\n\n<p>How do I check if something is not in a list? How do I check if a condition is not met? The answer to these questions lies in one word: the <em>not<\/em> keyword.<\/p>\n\n\n\n<p>The not keyword inverts the value of Booleans. Booleans are a data type that can be either one of two values: True or False. They are used to control the logic in a program.<\/p>\n\n\n\n<p>Python if statements depend on Boolean logic. If a statement is True, the <em>if<\/em> statement will run; otherwise, an <em>elif<\/em> or <em>else<\/em> statement will run, or nothing will happen.<\/p>\n\n\n\n<p>In this guide, we\u2019re going to talk about what the not keyword is and how it works. We\u2019ll walk through three examples of where this keyword is used. Let\u2019s get started!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What is the Python not Keyword?<\/h2>\n\n\n\n<p>The not keyword inverts the value of a Boolean expression. For instance, the not keyword flips the value of True to False. You&#8217;ll see the not keyword used to check if a value is not in a string or another iterable.<\/p>\n\n\n\n<p>We can use the <em>not<\/em> keyword to check whether a condition is not met.<\/p>\n\n\n\n<p>The not keyword is one of Python\u2019s logical operators, alongside <em>and<\/em> and <em>or<\/em>. Read our article on <a href=\"https:\/\/careerkarma.com\/blog\/python-logical-operators\/\">Python logical operators<\/a> to learn more about these types of operators.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Use the Not Keyword<\/h2>\n\n\n\n<p>The not keyword has a number of uses. It can be used to:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Invert the value of a <a href=\"https:\/\/careerkarma.com\/blog\/python-boolean\/\">Python Boolean<\/a>.<\/li><li>Check if a condition is not met with a <a href=\"https:\/\/careerkarma.com\/blog\/python-if-else\/\">Python \u201cif\u201d statement<\/a>.<\/li><li>Check if a value is not inside a statement with an \u201cin\u201d statement.<\/li><\/ul>\n\n\n\n<p>Let\u2019s walk through an example of each of these.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Invert a Boolean<\/h3>\n\n\n\n<p>The simplest use of the <em>not<\/em> keyword inverts a Boolean. This will set the value of a Boolean to be the opposite of the value it has been assigned.<\/p>\n\n\n\n<p>We\u2019re building a program that tracks whether a customer is a loyalty card holder. This program should have a feature that sets the customer\u2019s loyalty card status to inactive if they decide to cancel their membership.<\/p>\n\n\n\n<p>Let\u2019s start by declaring a <a href=\"https:\/\/careerkarma.com\/blog\/python-variables\/\">Python variable<\/a> to store whether the customer has a loyalty card:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>loyalty_card = True<\/pre><\/div>\n\n\n\n<p>A customer has notified us that they want to cancel their loyalty card. Next, we use the <em>not<\/em> keyword to do this:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>loyalty_card = not loyalty_card\nprint(loyalty_card)<\/pre><\/div>\n\n\n\n<p>Our code returns: False. This code has successfully flipped the value of \u201cloyalty_card\u201d. If loyalty_card was False, it would turn to True. In this example, loyalty_card was True so it inverted to False.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">if not Python<\/h3>\n\n\n\n<p>The Python if not keywords check whether an expression returns False. If an expression returns False, the if statement executes. Otherwise, the program does not execute the if statement.<\/p>\n\n\n\n<p>One of the great things about the <em>not<\/em> keyword is that the keyword makes Python so easy to read:<\/p>\n\n\n\n<p><em>If not<\/em> means <em>if an item is not equal to<\/em>.<\/p>\n\n\n\n<p>We are going to build a tool that checks if a customer is not a loyalty card holder at a clothing store. First, let\u2019s declare whether the customer has a loyalty card:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>loyalty_card = True<\/pre><\/div>\n\n\n\n<p>Our customer is a loyalty card holder. If a customer is not a loyalty card holder, they are not eligible for a discount. Otherwise, they should receive a 5% discount on every purchase. We could use this code to check if a customer is eligible for a discount:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>if not loyalty_card:\n\n\tprint(&quot;This customer is not eligible for a discount.&quot;)\nelse:\n\tprint(&quot;This customer is eligible for a 5% discount.&quot;)<\/pre><\/div>\n\n\n\n<p>The \u201cif not loyalty_card\u201d checks if the value of \u201cloyalty_card\u201d is False. In this example, loyalty_card evaluates to True. This means that our expression evaluates to False and the contents of our <em>else<\/em> statement are executed. This prints the following message to the console:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>This customer is eligible for a 5% discount.<\/pre><\/div>\n\n\n\n<p>Our customer is a loyalty card holder, so they are eligible for a discount.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Not In Python<\/h3>\n\n\n\n<p>The not in Python keywords check if an item is not inside a list. An in statement checks if a value is in a list. Then, the not statement inverts the value returned by the in statement.<\/p>\n\n\n\n<p>You can use the not in operators in Python to check if an item is not inside a list. Let\u2019s take the following list as an example:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>presidents = [&quot;George Washington&quot;, &quot;John Adams&quot;, &quot;Thomas Jefferson&quot;]<\/pre><\/div>\n\n\n\n<p>This is a list of the first three Presidents of the United States. We can use the not in keyword to check if a particular person was in this select group.<\/p>\n\n\n\n<p>A friend has just asked whether Alexander Hamilton was one of the first three presidents. We can check this using the following code:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>presidents = [&quot;George Washington&quot;, &quot;John Adams&quot;, &quot;Thomas Jefferson&quot;]\n\nif &quot;Alexander Hamilton&quot; not in presidents:\n\tprint(&quot;Alexander Hamilton was not one of the first three presidents.&quot;)\nelse:\nprint(&quot;Alexander Hamilton was one of the first three presidents.&quot;)<\/pre><\/div>\n\n\n\n<p>This expression checks whether \u201cAlexander Hamiltion\u201d is not in our list of presidents. If he is not in the list, the contents of our <em>if<\/em> conditional statement are run; otherwise, the contents of our <em>else<\/em> clause are run.<\/p>\n\n\n\n<p>Alexander Hamilton is not in our list so our statement <em>else<\/em> prints the following to the console:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>Alexander Hamilton was not one of the first three presidents.<\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>The <em>not<\/em> keyword is used in Boolean logic to control the flow of a program. This keyword inverts the value of a Boolean. You can use the <em>not<\/em> keyword to check if a value is not inside another value.<\/p>\n\n\n\n<p>Are you up for a challenge? Write a program that checks whether your favorite food is in a dictionary of foods. You can make up this dictionary of foods for yourself. To learn more about dictionaries, read our tutorial on <a href=\"https:\/\/careerkarma.com\/blog\/python-dictionary-values\/\">Python dictionary values<\/a>.<\/p>\n\n\n\n<p>Do you want to learn more about Python programming? Check out our complete <a href=\"https:\/\/careerkarma.com\/blog\/how-to-learn-python\/\">How to Learn Python guide<\/a>. In this guide you&#8217;ll find expert advice on learning Python and a list of top online courses and learning resources.<\/p>\n","protected":false},"excerpt":{"rendered":"The Python not keyword returns True if a value is equal to False and vice versa. This keyword inverts the value of a Boolean. The not keyword can be used with an if statement to check if a value is not in a list. How do I check if something is not in a list?&hellip;","protected":false},"author":240,"featured_media":10224,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[16578],"tags":[],"class_list":{"0":"post-19907","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>How to Use the Python not Keyword | Career Karma<\/title>\n<meta name=\"description\" content=\"The Python not keyword inverts the value of a Boolean. On Career Karma, learn how to use the not keyword with Boolean logic.\" \/>\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-not\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Use the Python not Keyword\" \/>\n<meta property=\"og:description\" content=\"The Python not keyword inverts the value of a Boolean. On Career Karma, learn how to use the not keyword with Boolean logic.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/careerkarma.com\/blog\/python-not\/\" \/>\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-12-28T08:54:58+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-01T12:06:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/joshua-aragon-FkjaN-7gWC0-unsplash.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=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-not\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-not\/\"},\"author\":{\"name\":\"James Gallagher\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"headline\":\"How to Use the Python not Keyword\",\"datePublished\":\"2020-12-28T08:54:58+00:00\",\"dateModified\":\"2023-12-01T12:06:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-not\/\"},\"wordCount\":979,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-not\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/joshua-aragon-FkjaN-7gWC0-unsplash.jpg\",\"articleSection\":[\"Python\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/careerkarma.com\/blog\/python-not\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-not\/\",\"url\":\"https:\/\/careerkarma.com\/blog\/python-not\/\",\"name\":\"How to Use the Python not Keyword | Career Karma\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-not\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-not\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/joshua-aragon-FkjaN-7gWC0-unsplash.jpg\",\"datePublished\":\"2020-12-28T08:54:58+00:00\",\"dateModified\":\"2023-12-01T12:06:24+00:00\",\"author\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"description\":\"The Python not keyword inverts the value of a Boolean. On Career Karma, learn how to use the not keyword with Boolean logic.\",\"breadcrumb\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-not\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/careerkarma.com\/blog\/python-not\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-not\/#primaryimage\",\"url\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/joshua-aragon-FkjaN-7gWC0-unsplash.jpg\",\"contentUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/joshua-aragon-FkjaN-7gWC0-unsplash.jpg\",\"width\":1000,\"height\":666},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-not\/#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\":\"How to Use the Python not Keyword\"}]},{\"@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":"How to Use the Python not Keyword | Career Karma","description":"The Python not keyword inverts the value of a Boolean. On Career Karma, learn how to use the not keyword with Boolean logic.","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-not\/","og_locale":"en_US","og_type":"article","og_title":"How to Use the Python not Keyword","og_description":"The Python not keyword inverts the value of a Boolean. On Career Karma, learn how to use the not keyword with Boolean logic.","og_url":"https:\/\/careerkarma.com\/blog\/python-not\/","og_site_name":"Career Karma","article_publisher":"http:\/\/facebook.com\/careerkarmaapp","article_published_time":"2020-12-28T08:54:58+00:00","article_modified_time":"2023-12-01T12:06:24+00:00","og_image":[{"width":1000,"height":666,"url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/joshua-aragon-FkjaN-7gWC0-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":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/careerkarma.com\/blog\/python-not\/#article","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/python-not\/"},"author":{"name":"James Gallagher","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"headline":"How to Use the Python not Keyword","datePublished":"2020-12-28T08:54:58+00:00","dateModified":"2023-12-01T12:06:24+00:00","mainEntityOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-not\/"},"wordCount":979,"commentCount":0,"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-not\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/joshua-aragon-FkjaN-7gWC0-unsplash.jpg","articleSection":["Python"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/careerkarma.com\/blog\/python-not\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/careerkarma.com\/blog\/python-not\/","url":"https:\/\/careerkarma.com\/blog\/python-not\/","name":"How to Use the Python not Keyword | Career Karma","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-not\/#primaryimage"},"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-not\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/joshua-aragon-FkjaN-7gWC0-unsplash.jpg","datePublished":"2020-12-28T08:54:58+00:00","dateModified":"2023-12-01T12:06:24+00:00","author":{"@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"description":"The Python not keyword inverts the value of a Boolean. On Career Karma, learn how to use the not keyword with Boolean logic.","breadcrumb":{"@id":"https:\/\/careerkarma.com\/blog\/python-not\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/careerkarma.com\/blog\/python-not\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/python-not\/#primaryimage","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/joshua-aragon-FkjaN-7gWC0-unsplash.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/joshua-aragon-FkjaN-7gWC0-unsplash.jpg","width":1000,"height":666},{"@type":"BreadcrumbList","@id":"https:\/\/careerkarma.com\/blog\/python-not\/#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":"How to Use the Python not Keyword"}]},{"@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\/19907","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=19907"}],"version-history":[{"count":0,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/19907\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media\/10224"}],"wp:attachment":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media?parent=19907"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/categories?post=19907"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/tags?post=19907"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}