{"id":21190,"date":"2020-08-14T01:39:01","date_gmt":"2020-08-14T08:39:01","guid":{"rendered":"https:\/\/careerkarma.com\/blog\/?p=21190"},"modified":"2023-12-01T03:57:51","modified_gmt":"2023-12-01T11:57:51","slug":"python-typeerror-not-supported-between-instances-of-str-and-int","status":"publish","type":"post","link":"https:\/\/careerkarma.com\/blog\/python-typeerror-not-supported-between-instances-of-str-and-int\/","title":{"rendered":"Python typeerror: \u2018>\u2019 not supported between instances of \u2018str\u2019 and \u2018int\u2019 Solution"},"content":{"rendered":"\n<p>You can only compare items using mathematical operators if they have the same numerical data type. If you try to compare a string and an integer, you\u2019ll encounter an error that says \u201cnot supported between instances of \u2018str\u2019 and \u2018int\u2019\u201d.<br><\/p>\n\n\n\n<p>In this guide, we discuss what this error means and why it is raised. We walk through an example scenario where this error is present so we can talk about how to fix it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">typeerror: \u2018&gt;\u2019 not supported between instances of \u2018str\u2019 and \u2018int\u2019<\/h2>\n\n\n\n<p>Strings and integers cannot be compared using <a href=\"https:\/\/careerkarma.com\/blog\/python-compare-strings\/\">comparison operators<\/a>. This is because strings and integers are different data types.<br><\/p>\n\n\n\n<p>Python is a statically typed programming language. You have to manually change the type of a data if you need to compare it with a value of another type.<br><\/p>\n\n\n\n<p>For instance, suppose you want to convert a string to an integer. You have to manually convert the string to an integer before the comparison will work.<br><\/p>\n\n\n\n<p>The \u201ctypeerror: \u2018&gt;\u2019 not supported between instances of \u2018str\u2019 and \u2018int\u2019\u201d error occurs when you try to perform a \u201cgreater than\u201d comparison on a string and an integer.<br><\/p>\n\n\n\n<p>This error can happen with any comparison operation, such as a less than (&lt;), less than or equal to (&lt;=), or greater than or equal to (&gt;=).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">An Example Scenario<\/h2>\n\n\n\n<p>We build a program that calculates the letter grade a student has earned in a test.<br><\/p>\n\n\n\n<p>To start, ask a user to insert a numerical grade which we will later convert to a letter grade using an <a href=\"https:\/\/careerkarma.com\/blog\/python-input\/\">input() statement<\/a>:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>numerical_grade = input(&quot;What grade did the student earn? &quot;)<\/pre><\/div>\n\n\n\n<p>Then, use an <a href=\"https:\/\/careerkarma.com\/blog\/python-if-else\/\">\u201cif\u201d statement<\/a> to calculate the student\u2019s numerical grade:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>if numerical_grade &gt; 80:\n\tletter = &quot;A&quot;\nelif numerical_grade &gt; 70:\n\tletter = &quot;B&quot;\nelif numerical_grade &gt; 60:\n\tletter = &quot;C&quot;\nelif numerical_grade &gt; 50:\n\tletter = &quot;D&quot;\nelse:\n\tletter = &quot;F&quot;\nprint(letter)<\/pre><\/div>\n\n\n\n<p>This code compares numerical_grade to a series of values. First, our code checks if numerical_grade is greater than 80. If it is, the value of \u201cletter\u201d becomes \u201cA\u201d. Otherwise, our code checks the next \u201celif\u201d statement.<br><\/p>\n\n\n\n<p>If the \u201cif\u201d and \u201celif\u201d statements all evaluate to False, our code sets the value of \u201cletter\u201d to \u201cF\u201d.<br><\/p>\n\n\n\n<p>At the end of our program, we print the letter grade a student has earned to the console.<br><\/p>\n\n\n\n<p>Run our code and see what happens:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>What grade did the student earn? 64\nTraceback (most recent call last):\n  File &quot;main.py&quot;, line 3, in &lt;module&gt;\n\tif numerical_grade &gt; 80:\nTypeError: '&gt;' not supported between instances of 'str' and 'int'<\/pre><\/div>\n\n\n\n<p>Our code does not run successfully. Our code asks us to insert a student grade. When our code goes to make its first comparison, an error is returned.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Solution<\/h2>\n\n\n\n<p>The <code>input()<\/code> method returns a string. This means our code tries to compare a string (the value in \u201cnumerical_grade\u201d) to an integer.<br><\/p>\n\n\n\n<p>We solve this problem by converting \u201cnumerical_grade\u201d to an integer before we perform any comparisons in our code:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>numerical_grade = int(input(&quot;What grade did the student earn? &quot;))<\/pre><\/div>\n\n\n\n<p>The <a href=\"https:\/\/careerkarma.com\/blog\/python-string-to-int\/\">int() method<\/a> converts the value the user inserts into our program to an integer.<br><\/p>\n\n\n\n<p>Try to run our code again:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>What grade did the student earn? 64\nC<\/pre><\/div>\n\n\n\n<p>Our code works successfully. This is because we now compare two integer values instead of an integer and a string.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>The \u201ctypeerror: \u2018&gt;\u2019 not supported between instances of \u2018str\u2019 and \u2018int\u2019\u201d error is raised when you try to compare a string to an integer.<br><\/p>\n\n\n\n<p>To solve this error, convert any string values to integers before you attempt to compare them to an integer. Now you\u2019re ready to solve this common Python error in your code like a <a href=\"https:\/\/careerkarma.com\/careers\/software-engineer\/\">professional software developer<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"You can only compare items using mathematical operators if they have the same numerical data type. If you try to compare a string and an integer, you\u2019ll encounter an error that says \u201cnot supported between instances of \u2018str\u2019 and \u2018int\u2019\u201d. In this guide, we discuss what this error means and why it is raised. We&hellip;","protected":false},"author":240,"featured_media":18513,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[16578],"tags":[],"class_list":{"0":"post-21190","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>\u2018&gt;\u2019 not supported between instances of \u2018str\u2019 and \u2018int\u2019 | Career Karma<\/title>\n<meta name=\"description\" content=\"On Career Karma, learn about the Python typeerror: \u2018&gt;\u2019 not supported between instances of \u2018str\u2019 and \u2018int\u2019, how the error works, and how to solve the error.\" \/>\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-typeerror-not-supported-between-instances-of-str-and-int\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python typeerror: \u2018&gt;\u2019 not supported between instances of \u2018str\u2019 and \u2018int\u2019 Solution\" \/>\n<meta property=\"og:description\" content=\"On Career Karma, learn about the Python typeerror: \u2018&gt;\u2019 not supported between instances of \u2018str\u2019 and \u2018int\u2019, how the error works, and how to solve the error.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/careerkarma.com\/blog\/python-typeerror-not-supported-between-instances-of-str-and-int\/\" \/>\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-14T08:39:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-01T11:57:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/06\/sergey-zolkin-_UeY8aTI6d0-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=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-not-supported-between-instances-of-str-and-int\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-not-supported-between-instances-of-str-and-int\/\"},\"author\":{\"name\":\"James Gallagher\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"headline\":\"Python typeerror: \u2018>\u2019 not supported between instances of \u2018str\u2019 and \u2018int\u2019 Solution\",\"datePublished\":\"2020-08-14T08:39:01+00:00\",\"dateModified\":\"2023-12-01T11:57:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-not-supported-between-instances-of-str-and-int\/\"},\"wordCount\":535,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-not-supported-between-instances-of-str-and-int\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/06\/sergey-zolkin-_UeY8aTI6d0-unsplash.jpg\",\"articleSection\":[\"Python\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/careerkarma.com\/blog\/python-typeerror-not-supported-between-instances-of-str-and-int\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-not-supported-between-instances-of-str-and-int\/\",\"url\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-not-supported-between-instances-of-str-and-int\/\",\"name\":\"\u2018>\u2019 not supported between instances of \u2018str\u2019 and \u2018int\u2019 | Career Karma\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-not-supported-between-instances-of-str-and-int\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-not-supported-between-instances-of-str-and-int\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/06\/sergey-zolkin-_UeY8aTI6d0-unsplash.jpg\",\"datePublished\":\"2020-08-14T08:39:01+00:00\",\"dateModified\":\"2023-12-01T11:57:51+00:00\",\"author\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"description\":\"On Career Karma, learn about the Python typeerror: \u2018>\u2019 not supported between instances of \u2018str\u2019 and \u2018int\u2019, how the error works, and how to solve the error.\",\"breadcrumb\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-not-supported-between-instances-of-str-and-int\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/careerkarma.com\/blog\/python-typeerror-not-supported-between-instances-of-str-and-int\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-not-supported-between-instances-of-str-and-int\/#primaryimage\",\"url\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/06\/sergey-zolkin-_UeY8aTI6d0-unsplash.jpg\",\"contentUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/06\/sergey-zolkin-_UeY8aTI6d0-unsplash.jpg\",\"width\":1020,\"height\":680},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-not-supported-between-instances-of-str-and-int\/#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 typeerror: \u2018>\u2019 not supported between instances of \u2018str\u2019 and \u2018int\u2019 Solution\"}]},{\"@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":"\u2018>\u2019 not supported between instances of \u2018str\u2019 and \u2018int\u2019 | Career Karma","description":"On Career Karma, learn about the Python typeerror: \u2018>\u2019 not supported between instances of \u2018str\u2019 and \u2018int\u2019, how the error works, and how to solve the error.","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-typeerror-not-supported-between-instances-of-str-and-int\/","og_locale":"en_US","og_type":"article","og_title":"Python typeerror: \u2018>\u2019 not supported between instances of \u2018str\u2019 and \u2018int\u2019 Solution","og_description":"On Career Karma, learn about the Python typeerror: \u2018>\u2019 not supported between instances of \u2018str\u2019 and \u2018int\u2019, how the error works, and how to solve the error.","og_url":"https:\/\/careerkarma.com\/blog\/python-typeerror-not-supported-between-instances-of-str-and-int\/","og_site_name":"Career Karma","article_publisher":"http:\/\/facebook.com\/careerkarmaapp","article_published_time":"2020-08-14T08:39:01+00:00","article_modified_time":"2023-12-01T11:57:51+00:00","og_image":[{"width":1020,"height":680,"url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/06\/sergey-zolkin-_UeY8aTI6d0-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":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-not-supported-between-instances-of-str-and-int\/#article","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-not-supported-between-instances-of-str-and-int\/"},"author":{"name":"James Gallagher","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"headline":"Python typeerror: \u2018>\u2019 not supported between instances of \u2018str\u2019 and \u2018int\u2019 Solution","datePublished":"2020-08-14T08:39:01+00:00","dateModified":"2023-12-01T11:57:51+00:00","mainEntityOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-not-supported-between-instances-of-str-and-int\/"},"wordCount":535,"commentCount":0,"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-not-supported-between-instances-of-str-and-int\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/06\/sergey-zolkin-_UeY8aTI6d0-unsplash.jpg","articleSection":["Python"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/careerkarma.com\/blog\/python-typeerror-not-supported-between-instances-of-str-and-int\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-not-supported-between-instances-of-str-and-int\/","url":"https:\/\/careerkarma.com\/blog\/python-typeerror-not-supported-between-instances-of-str-and-int\/","name":"\u2018>\u2019 not supported between instances of \u2018str\u2019 and \u2018int\u2019 | Career Karma","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-not-supported-between-instances-of-str-and-int\/#primaryimage"},"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-not-supported-between-instances-of-str-and-int\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/06\/sergey-zolkin-_UeY8aTI6d0-unsplash.jpg","datePublished":"2020-08-14T08:39:01+00:00","dateModified":"2023-12-01T11:57:51+00:00","author":{"@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"description":"On Career Karma, learn about the Python typeerror: \u2018>\u2019 not supported between instances of \u2018str\u2019 and \u2018int\u2019, how the error works, and how to solve the error.","breadcrumb":{"@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-not-supported-between-instances-of-str-and-int\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/careerkarma.com\/blog\/python-typeerror-not-supported-between-instances-of-str-and-int\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-not-supported-between-instances-of-str-and-int\/#primaryimage","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/06\/sergey-zolkin-_UeY8aTI6d0-unsplash.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/06\/sergey-zolkin-_UeY8aTI6d0-unsplash.jpg","width":1020,"height":680},{"@type":"BreadcrumbList","@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-not-supported-between-instances-of-str-and-int\/#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 typeerror: \u2018>\u2019 not supported between instances of \u2018str\u2019 and \u2018int\u2019 Solution"}]},{"@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\/21190","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=21190"}],"version-history":[{"count":0,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/21190\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media\/18513"}],"wp:attachment":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media?parent=21190"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/categories?post=21190"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/tags?post=21190"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}