{"id":12741,"date":"2020-07-06T08:09:16","date_gmt":"2020-07-06T15:09:16","guid":{"rendered":"https:\/\/careerkarma.com\/blog\/?p=12741"},"modified":"2023-12-01T03:38:45","modified_gmt":"2023-12-01T11:38:45","slug":"python-uppercase","status":"publish","type":"post","link":"https:\/\/careerkarma.com\/blog\/python-uppercase\/","title":{"rendered":"Python Uppercase: A Step-By-Step Guide"},"content":{"rendered":"\n<p><em>The Python <code>upper()<\/code> method converts all lowercase letters in a string to uppercase and returns the modified string. The Python <code>isupper()<\/code> returns true if all of the characters in a string are uppercase, and false if they aren&#8217;t. Both are useful for formatting data that is dependant on case.<\/em><\/p>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<p>In Python, when you\u2019re working a string, you may want to convert the string to uppercase, or check if the string is already in uppercase.<\/p>\n\n\n\n<p>For example, if you\u2019re creating a program that prepares the data for ticket stubs at a concert, you may want to convert all names to uppercase so that they are easily readable. Before you convert the string to uppercase, you may also want to check if it is already in uppercase.<\/p>\n\n\n\n<p>That\u2019s where the Python <code>upper()<\/code> and <code>isupper()<\/code> methods come in. The <code>upper()<\/code> method can be used to convert all case-based characters in a string to uppercase, and the <code>isupper()<\/code> method can be used to check if all characters in a string are in uppercase.<\/p>\n\n\n\n<p>We are going to discuss how to use both these methods to work with uppercase strings in this tutorial. We\u2019ll also go through a few examples to illustrate how they work. If you\u2019re interested in learning about lowercase string methods in Python, check out our guide to <a href=\"https:\/\/careerkarma.com\/blog\/python-lowercase\">Python lowercase methods<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Python <strong>String Refresher<\/strong><\/h2>\n\n\n\n<p>Strings store text and are typically held in a variable. Strings in Python are declared with single quotes <code>\u2018\u2019<\/code> or double quotes <code>\u201c\u201d<\/code>. While both single quotes and double quotes can be used, you should stick to one or the other. Here\u2019s an example of how to declare a string: <\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>string_name = \"This is a Python string.\"<\/pre><\/div>\n\n\n\n<p>We can print a string with the <code>print()<\/code> function: <\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>string_name = \"This is a Python string.\"\nprint(string_name)<\/pre><\/div>\n\n\n\n<p>Our program returns: <code>This is a Python string.<\/code> <\/p>\n\n\n\n<p>Now that we&#8217;ve brushed up on strings, let&#8217;s consider how we can convert them to uppercase. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Python Upper<\/h2>\n\n\n\n<p>The built-in Python <code>upper()<\/code> method can be used to convert all case-based characters within a string to uppercase. The <code>upper()<\/code> method returns a copy of an original string in which all characters appear in uppercase.<\/p>\n\n\n\n<p>The syntax for the <code>upper()<\/code> method is as follows:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>string_name.upper()<\/pre><\/div>\n\n\n\n<p>As you can see, the <code>upper()<\/code> method takes no parameters, and is appended to the end of an existing string value.<\/p>\n\n\n\n<p>Let\u2019s walk through an example to show how the <code>upper()<\/code> method can be used.<\/p>\n\n\n\n<p>Say that we are working at a movie theater and we are creating a program that converts all customer names to uppercase. We are doing this so that customer names are easily readable on tickets and use a consistent case, which will make it easier for the movie clerks to check the identity of moviegoers.<\/p>\n\n\n\n<p>To accomplish this task, we could use the <code>upper()<\/code> method. Here\u2019s an example of the <code>upper()<\/code> method being used to convert a string to uppercase:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>attendee_name = \"Elsie Swanson\"\nprint(attendee_name.upper())<\/pre><\/div>\n\n\n\n<p>Our code returns: <code>ELSIE SWANSON<\/code>. Let\u2019s break down our code to show how it works. On the first line, we declare a variable called <code>attendee_name<\/code> that stores the name of our moviegoer. Then, on the next line, we use <code>upper()<\/code> to convert <code>attendee_name<\/code> to uppercase, and then we print the revised name to the console.<\/p>\n\n\n\n<p>The <code>upper()<\/code> method will not affect symbols, whitespaces, or numbers within a string, because those characters are not case-based.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Python Isupper()<\/h2>\n\n\n\n<p>Before you convert a string to uppercase, you may first want to check that the string is not already in uppercase form.<\/p>\n\n\n\n<p>To check if a string is in uppercase, we can use the <code>isupper()<\/code> method. <code>isupper()<\/code> checks whether every case-based character in a string is in uppercase, and returns a True or False value depending on the outcome.<\/p>\n\n\n\n<p>Here\u2019s the syntax for the <code>isupper()<\/code> method:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>string_name.isupper()<\/pre><\/div>\n\n\n\n<p>For instance, let\u2019s use the movie ticket example from above.<\/p>\n\n\n\n<p>Before we convert a moviegoer\u2019s name to uppercase on their ticket, we should first check to see if the name has already been converted to uppercase. This would allow us to make our code more efficient because we would not be converting a string to uppercase that was already formatted in the correct way.<\/p>\n\n\n\n<p>We can do check whether a customer\u2019s name is already in uppercase by using the following code:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>attendee_name = \"Elsie Swanson\"\nprint(attendee_name.isupper())<\/pre><\/div>\n\n\n\n<p>Our code returns: False. As you can see, the value of the <code>attendee_name<\/code> variable is in sentence case. So, when our <code>isupper()<\/code> method is executed, it returns False, because not every character in the <code>attendee_name<\/code> variable is in uppercase.<\/p>\n\n\n\n<p>The Python <code>isupper()<\/code> method returns True if a string includes whitespaces, symbols, or numbers, assuming all case-based characters appear in uppercase.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Python Isupper and Upper<\/h2>\n\n\n\n<p>Let\u2019s go a step further with our code. In the above example, we used the <code>isupper()<\/code> built-in function to check if the customer\u2019s name was already in uppercase.<\/p>\n\n\n\n<p>We could combine both <code>isupper()<\/code> and <code>upper()<\/code> to check if a string is already in uppercase, and convert it to uppercase if the string is not already formatted in all-uppercase. Here\u2019s the code we could use to perform this action:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>attendee_name = \"Elsie Swanson\"\nif attendee_name.isupper() == False:\n\tattendee_name = attendee_name.upper()\n\tprint(attendee_name)\nelse:\n\tprint(\"This attendee's name is already in uppercase.\")\n\tprint(attendee_name)<\/pre><\/div>\n\n\n\n<p>The result of our code is as follows: <\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>ELSIE SWANSON<\/pre><\/div>\n\n\n\n<p>If our <code>attendee_name<\/code> was already in all-uppercase, our code would return:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>This attendee's name is already in uppercase.\nELSIE SWANSON<\/pre><\/div>\n\n\n\n<p>Let\u2019s break down our code. On the first line, we declare the <code>attendee_name<\/code> variable which stores the name of our moviegoer. Then, we use an <code>if<\/code> statement and <code>isupper()<\/code> to check whether or not the customer\u2019s name is already in uppercase.<\/p>\n\n\n\n<p>If the statement evaluates to False &#8212; which means our customer\u2019s name is not in all-uppercase &#8212; our program uses the <code>upper()<\/code> method to convert the customer\u2019s name to uppercase and prints out the revised name to the console.<\/p>\n\n\n\n<p>If the customer\u2019s name is already in upper case, the contents of our <code>else<\/code> statement are executed, and a message is printed to the console, alongside the name of the attendee.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>Working with uppercase strings is a common string operation in Python. The <code>upper()<\/code> method can be used to convert a string to all-uppercase, and the <code>isupper()<\/code> method can be used to check whether a string is already in uppercase.<\/p>\n\n\n\n<p>This tutorial discussed how to use both the <code>upper()<\/code> and <code>isupper()<\/code> methods to work with uppercase strings in Python. We also explored an example of each of these methods in action, then we discussed how both of these methods can be combined to check if a string is in uppercase, and convert it to uppercase if it is not already in that form.<\/p>\n\n\n\n<p>That\u2019s all you need to know about the <code>upper()<\/code> and <code>isupper()<\/code> methods &#8212; now you\u2019re ready to use them in your code like a pro in your Python programs!<\/p>\n","protected":false},"excerpt":{"rendered":"The Python upper() method converts all lowercase letters in a string to uppercase and returns the modified string. The Python isupper() returns true if all of the characters in a string are uppercase, and false if they aren't. Both are useful for formatting data that is dependant on case. In Python, when you\u2019re working a&hellip;","protected":false},"author":240,"featured_media":12742,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[16578],"tags":[],"class_list":{"0":"post-12741","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":"","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 Uppercase: A Step-By-Step Guide | Career Karma<\/title>\n<meta name=\"description\" content=\"The Python upper method converts a string to uppercase and the isupper method checks if a string is uppercase. Learn to use both 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-uppercase\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python Uppercase: A Step-By-Step Guide\" \/>\n<meta property=\"og:description\" content=\"The Python upper method converts a string to uppercase and the isupper method checks if a string is uppercase. Learn to use both on Career Karma.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/careerkarma.com\/blog\/python-uppercase\/\" \/>\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-07-06T15:09:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-01T11:38:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/02\/PYTHON-UPPERCASE.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"667\" \/>\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-uppercase\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-uppercase\/\"},\"author\":{\"name\":\"James Gallagher\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"headline\":\"Python Uppercase: A Step-By-Step Guide\",\"datePublished\":\"2020-07-06T15:09:16+00:00\",\"dateModified\":\"2023-12-01T11:38:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-uppercase\/\"},\"wordCount\":1065,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-uppercase\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/02\/PYTHON-UPPERCASE.jpg\",\"articleSection\":[\"Python\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/careerkarma.com\/blog\/python-uppercase\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-uppercase\/\",\"url\":\"https:\/\/careerkarma.com\/blog\/python-uppercase\/\",\"name\":\"Python Uppercase: A Step-By-Step Guide | Career Karma\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-uppercase\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-uppercase\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/02\/PYTHON-UPPERCASE.jpg\",\"datePublished\":\"2020-07-06T15:09:16+00:00\",\"dateModified\":\"2023-12-01T11:38:45+00:00\",\"author\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"description\":\"The Python upper method converts a string to uppercase and the isupper method checks if a string is uppercase. Learn to use both on Career Karma.\",\"breadcrumb\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-uppercase\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/careerkarma.com\/blog\/python-uppercase\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-uppercase\/#primaryimage\",\"url\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/02\/PYTHON-UPPERCASE.jpg\",\"contentUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/02\/PYTHON-UPPERCASE.jpg\",\"width\":1000,\"height\":667},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-uppercase\/#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 Uppercase: 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\/#\/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 Uppercase: A Step-By-Step Guide | Career Karma","description":"The Python upper method converts a string to uppercase and the isupper method checks if a string is uppercase. Learn to use both 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-uppercase\/","og_locale":"en_US","og_type":"article","og_title":"Python Uppercase: A Step-By-Step Guide","og_description":"The Python upper method converts a string to uppercase and the isupper method checks if a string is uppercase. Learn to use both on Career Karma.","og_url":"https:\/\/careerkarma.com\/blog\/python-uppercase\/","og_site_name":"Career Karma","article_publisher":"http:\/\/facebook.com\/careerkarmaapp","article_published_time":"2020-07-06T15:09:16+00:00","article_modified_time":"2023-12-01T11:38:45+00:00","og_image":[{"width":1000,"height":667,"url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/02\/PYTHON-UPPERCASE.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-uppercase\/#article","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/python-uppercase\/"},"author":{"name":"James Gallagher","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"headline":"Python Uppercase: A Step-By-Step Guide","datePublished":"2020-07-06T15:09:16+00:00","dateModified":"2023-12-01T11:38:45+00:00","mainEntityOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-uppercase\/"},"wordCount":1065,"commentCount":0,"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-uppercase\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/02\/PYTHON-UPPERCASE.jpg","articleSection":["Python"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/careerkarma.com\/blog\/python-uppercase\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/careerkarma.com\/blog\/python-uppercase\/","url":"https:\/\/careerkarma.com\/blog\/python-uppercase\/","name":"Python Uppercase: A Step-By-Step Guide | Career Karma","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-uppercase\/#primaryimage"},"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-uppercase\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/02\/PYTHON-UPPERCASE.jpg","datePublished":"2020-07-06T15:09:16+00:00","dateModified":"2023-12-01T11:38:45+00:00","author":{"@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"description":"The Python upper method converts a string to uppercase and the isupper method checks if a string is uppercase. Learn to use both on Career Karma.","breadcrumb":{"@id":"https:\/\/careerkarma.com\/blog\/python-uppercase\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/careerkarma.com\/blog\/python-uppercase\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/python-uppercase\/#primaryimage","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/02\/PYTHON-UPPERCASE.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/02\/PYTHON-UPPERCASE.jpg","width":1000,"height":667},{"@type":"BreadcrumbList","@id":"https:\/\/careerkarma.com\/blog\/python-uppercase\/#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 Uppercase: 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\/#\/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\/12741","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=12741"}],"version-history":[{"count":0,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/12741\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media\/12742"}],"wp:attachment":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media?parent=12741"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/categories?post=12741"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/tags?post=12741"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}