{"id":19702,"date":"2025-11-15T06:59:50","date_gmt":"2025-11-15T06:59:50","guid":{"rendered":"https:\/\/www.kaashivinfotech.com\/blog\/?p=19702"},"modified":"2025-11-20T05:47:07","modified_gmt":"2025-11-20T05:47:07","slug":"ways-to-uppercase-a-python-string","status":"publish","type":"post","link":"https:\/\/www.kaashivinfotech.com\/blog\/ways-to-uppercase-a-python-string\/","title":{"rendered":"7 Powerful Ways to Uppercase a Python String (My Surprisingly Simple Guide for Beginners \ud83e\udd2f)"},"content":{"rendered":"<h2>Key Highlights<\/h2>\n<figure id=\"attachment_19669\" aria-describedby=\"caption-attachment-19669\" style=\"width: 289px\" class=\"wp-caption aligncenter\"><img fetchpriority=\"high\" decoding=\"async\" class=\"wp-image-19669 size-medium\" src=\"https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/11\/python-string-upper-289x300.webp\" alt=\"Uppercase a Python String\" width=\"289\" height=\"300\" srcset=\"https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/11\/python-string-upper-289x300.webp 289w, https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/11\/python-string-upper-380x395.webp 380w, https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/11\/python-string-upper.webp 483w, https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/11\/python-string-upper-24x24.webp 24w\" sizes=\"(max-width: 289px) 100vw, 289px\" \/><figcaption id=\"caption-attachment-19669\" class=\"wp-caption-text\">Uppercase a Python String<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<ul>\n<li>Find out what the Python upper() function does, and just how useful it can be.<\/li>\n<li>Learn how you can uppercase text even if you want to avoid using built-in Python methods.<\/li>\n<li>It&#8217;s filled with real examples and some funny stories from my days of learning to code.<\/li>\n<li>It&#8217;s written in a way that&#8217;s simple for beginners to understand and still provides technical information for more advanced programmers.<\/li>\n<li>It&#8217;s perfect for people learning the basics of Python or understanding ASCII &amp; Unicode.<\/li>\n<li>It even contains 7 practical techniques and one of my favorite Unicode tricks.<\/li>\n<li>It contains internal and external links to enrich your understanding of the topic.<\/li>\n<\/ul>\n<h2>If You&#8217;re Searching for \u201cHow Do I Uppercase a Python String Without Using Built-ins\u2026\u201d You\u2019re in the Right Place \ud83d\udc4d<\/h2>\n<p>If you\u2019ve been searching for how to uppercase strings in Python, it\u2019s likely for one of two reasons:<\/p>\n<p><span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_19_\" data-state=\"closed\" data-slot=\"popover-trigger\">They wish to know how <a href=\"https:\/\/www.kaashivinfotech.com\/python-course\/\">Python course<\/a> really works at the scene-media&#8211;and particularly how to get letters into upper case without using upper.<\/span><\/p>\n<p><span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_1a_\" data-state=\"closed\" data-slot=\"popover-trigger\">So here now though I will tell you the answer:<\/span><\/p>\n<p><span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_1b_\" data-state=\"closed\" data-slot=\"popover-trigger\">\ud83d\udc49 Uppercasing any Python string can be done through the Python built-in method of upper, OR can be done by you using lists, Unicode, ASCII or even custom functions.<\/span><\/p>\n<p>But that\u2019s the boring version. <span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_1c_\" data-state=\"closed\" data-slot=\"popover-trigger\">I can show you the step-by-step procedure like I were instructing a friend- because believe me I had the same issue as well in my early years of programming.<\/span><\/p>\n<h2><span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_1d_\" data-state=\"closed\" data-slot=\"popover-trigger\">Understanding What the Python upper() Function does (and why it is important).<\/span><\/h2>\n<p><span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_1e_\" data-state=\"closed\" data-slot=\"popover-trigger\">When I learned <a href=\"https:\/\/www.youtube.com\/watch?v=BDiil-TChgo\" target=\"_blank\" rel=\"noopener\">Python Beginners<\/a> first, I believed that such things as <a href=\"https:\/\/www.wikitechy.com\/string-s-python-print-format-example\/\" target=\"_blank\" rel=\"noopener\">Python string Format<\/a> were magic.<\/span><\/p>\n<p>I typed:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\">print(\"hello\".upper())\r\n<\/pre>\n<p>And boom \u2014 HELLO. It felt like cheating. \ud83d\ude02<\/p>\n<p><span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_1f_\" data-state=\"closed\" data-slot=\"popover-trigger\">But this is what is really going on:<\/span><\/p>\n<p><span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_1g_\" data-state=\"closed\" data-slot=\"popover-trigger\">python upper scans character by character.<\/span><\/p>\n<p><span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_1h_\" data-state=\"closed\" data-slot=\"popover-trigger\">It verifies that it is a lowercase letter.<\/span><\/p>\n<p><span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_1i_\" data-state=\"closed\" data-slot=\"popover-trigger\">In case yes it goes to the uppercase version using Unicode.<\/span><\/p>\n<p>If no, it leaves it alone<\/p>\n<p>It\u2019s simple. It\u2019s elegant. It works every time.<\/p>\n<p><span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_1j_\" data-state=\"closed\" data-slot=\"popover-trigger\">However, what should you do for learning, but you want to do uppercase without the help of built-in Python method?<\/span><\/p>\n<p>That\u2019s where the fun begins.<\/p>\n<h2>\u2b50 1. <span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_1k_\" data-state=\"closed\" data-slot=\"popover-trigger\">Python upper (Just to Set the Stage)<\/span><\/h2>\n<p><span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_1l_\" data-state=\"closed\" data-slot=\"popover-trigger\">I understand that the entire purpose of this article is to be educated on uppercase without inbuilt method used in Python.<\/span> <span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_1m_\" data-state=\"closed\" data-slot=\"popover-trigger\">But we should first know the rule before we break it.<\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\">name = \"python explorer\"\r\nprint(name.upper())\r\n<\/pre>\n<p><strong>Output:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\">PYTHON EXPLORER\r\n<\/pre>\n<p><span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_1n_\" data-state=\"closed\" data-slot=\"popover-trigger\">Python upper is quick, consistent and easy to learn.<\/span> <span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_1o_\" data-state=\"closed\" data-slot=\"popover-trigger\">However, we will not have to follow the path of the golden milk, we should learn how to create this characteristic ourselves.<\/span><\/p>\n<h2>\u2b50 2. <span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_1p_\" data-state=\"closed\" data-slot=\"popover-trigger\">All-Letter: List of Letters (My First DIY Method \ud83d\ude05)<\/span><\/h2>\n<p><span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_1q_\" data-state=\"closed\" data-slot=\"popover-trigger\">This is literally the first trick that I employed when I was not sure how Unicode operated.<\/span><\/p>\n<p><strong>I built two lists:<\/strong><\/p>\n<ul>\n<li>One for lowercase letters<\/li>\n<li>One for uppercase letters<\/li>\n<\/ul>\n<p><strong>Like this:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\">lowercase = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z']\r\nuppercase = ['A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z']<\/pre>\n<p>And I would map every lower case to its uppercase counterpart.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\">\r\nfor char in word:\r\n    if char in lowercase:\r\n        index = lowercase.index(char)\r\n        result += uppercase[index]\r\n    else:\r\n        result += char\r\n<\/pre>\n<p><span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_1u_\" data-state=\"closed\" data-slot=\"popover-trigger\">The first time that I did so, this seemed like a magic that I was making myself. \u2728<\/span><\/p>\n<p><span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_1v_\" data-state=\"closed\" data-slot=\"popover-trigger\">It was slow, ay, but marvellous gratifying.<\/span><\/p>\n<h2>\u2b50 3. <span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_20_\" data-state=\"closed\" data-slot=\"popover-trigger\">Write It to Uppercase without Built-ins in ASCII This Is Where I Felt like a Real Programmer \ud83e\udd13<\/span><\/h2>\n<p>Here\u2019s the cool part:<\/p>\n<ul>\n<li>\u2018a\u2019 \u2192 ASCII 97<\/li>\n<li>\u2018z\u2019 \u2192 ASCII 122<\/li>\n<li>\u2018A\u2019 \u2192 ASCII 65<\/li>\n<li>\u2018Z\u2019 \u2192 ASCII 90<\/li>\n<\/ul>\n<p>The difference is 32.<\/p>\n<figure id=\"attachment_19670\" aria-describedby=\"caption-attachment-19670\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><img decoding=\"async\" class=\"wp-image-19670 size-medium\" src=\"https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/11\/uppercase-to-lowercase-conversion-python-300x140.webp\" alt=\"Uppercase without Built-ins in ASCII\" width=\"300\" height=\"140\" srcset=\"https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/11\/uppercase-to-lowercase-conversion-python-300x140.webp 300w, https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/11\/uppercase-to-lowercase-conversion-python-380x178.webp 380w, https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/11\/uppercase-to-lowercase-conversion-python.webp 430w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><figcaption id=\"caption-attachment-19670\" class=\"wp-caption-text\">Uppercase without Built-ins in ASCII<\/figcaption><\/figure>\n<p><span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_21_\" data-state=\"closed\" data-slot=\"popover-trigger\">To convert lowercase to uppercase, no built-ins:<\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\">uppercase_code = ord(char) - 32\r\nuppercase_letter = chr(uppercase_code)\r\n<\/pre>\n<p><strong> Example:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\">word = \"python\"\r\nresult = \"\"\r\n\r\nfor char in word:\r\n    if 97 &lt;= ord(char) &lt;= 122:\r\n        result += chr(ord(char) - 32)\r\n    else:\r\n        result += char\r\n<\/pre>\n<p>That\u2019s it.<\/p>\n<p><span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_23_\" data-state=\"closed\" data-slot=\"popover-trigger\">You have now learned a bit about Python upper on a behind-the-scenes level.<\/span><\/p>\n<h2>\u2b50 4. <span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_24_\" data-state=\"closed\" data-slot=\"popover-trigger\">Encoding in Unicode (Not ASCII)<\/span><\/h2>\n<p><span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_25_\" data-state=\"closed\" data-slot=\"popover-trigger\">ASCII is limited to English letters only.<\/span><\/p>\n<p><strong>Unicode covers:<\/strong><\/p>\n<ul>\n<li>French<\/li>\n<li>Chinese<\/li>\n<li>Hindi<\/li>\n<li>Emojis (yes, emojis \ud83d\ude04)<\/li>\n<\/ul>\n<p><span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_26_\" data-state=\"closed\" data-slot=\"popover-trigger\">The fact that Python upper actually uses Unicode internally upgraded my brain.<\/span><\/p>\n<p><span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_27_\" data-state=\"closed\" data-slot=\"popover-trigger\">To capitalize without inbuilt python technique by use of Unicode:<\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\">if 'a' &lt;= char &lt;= 'z':\r\n    result += chr(ord(char) - 32)\r\n<\/pre>\n<p><span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_28_\" data-state=\"closed\" data-slot=\"popover-trigger\">Unicode is similar to ASCII in terms of spacing in English letters.<\/span><\/p>\n<h2>\u2b50 5. <span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_29_\" data-state=\"closed\" data-slot=\"popover-trigger\">With a Dictionary Mapping (Readable and Friendly to Beginners).<\/span><\/h2>\n<p><strong>At some point, I realized:<\/strong><\/p>\n<p><span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_2a_\" data-state=\"closed\" data-slot=\"popover-trigger\">What, say, I make a dictionary to every letter?<\/span> It might look cleaner.&#8221;<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-19671 \" src=\"https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/11\/Dictionary_inmage-300x176.webp\" alt=\"\" width=\"343\" height=\"201\" srcset=\"https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/11\/Dictionary_inmage-300x176.webp 300w, https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/11\/Dictionary_inmage-380x223.webp 380w, https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/11\/Dictionary_inmage.webp 734w\" sizes=\"(max-width: 343px) 100vw, 343px\" \/><\/p>\n<p><strong>Example:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\">mapping = {chr(i): chr(i - 32) for i in range(97, 123)}\r\n<\/pre>\n<p><strong>Then:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\">if char in mapping:\r\n    result += mapping[char]\r\n<\/pre>\n<p><span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_2c_\" data-state=\"closed\" data-slot=\"popover-trigger\">I have applied this method in one of my school projects.<\/span> It\u2019s great for clarity.<\/p>\n<h2>\u2b50 6. <span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_2d_\" data-state=\"closed\" data-slot=\"popover-trigger\">Custom Function which is an imitation of Python upper()<\/span><\/h2>\n<p><span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_2e_\" data-state=\"closed\" data-slot=\"popover-trigger\">At this stage,<\/span><span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_2e_\" data-state=\"closed\" data-slot=\"popover-trigger\"> I would desire my own role to be official.<\/span><\/p>\n<p><strong>So I wrote:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\">def my_upper(word):\r\n    result = \"\"\r\n    for char in word:\r\n        if 'a' &lt;= char &lt;= 'z':\r\n            result += chr(ord(char) - 32)\r\n        else:\r\n            result += char\r\n    return result\r\n<\/pre>\n<p>This is the nearest Python alternative of DIY upper.<\/p>\n<h2>\u2b50 7. <span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_2g_\" data-state=\"closed\" data-slot=\"popover-trigger\">The List Comprehension (For Those Who Love Clean, Short Code) is used.<\/span><\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-19672 \" src=\"https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/11\/1_8-j8zcm77WONz3uziGYOVw-300x155.webp\" alt=\"\" width=\"434\" height=\"224\" srcset=\"https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/11\/1_8-j8zcm77WONz3uziGYOVw-300x155.webp 300w, https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/11\/1_8-j8zcm77WONz3uziGYOVw-1024x530.webp 1024w, https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/11\/1_8-j8zcm77WONz3uziGYOVw-768x398.webp 768w, https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/11\/1_8-j8zcm77WONz3uziGYOVw-380x197.webp 380w, https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/11\/1_8-j8zcm77WONz3uziGYOVw-800x414.webp 800w, https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/11\/1_8-j8zcm77WONz3uziGYOVw-1160x600.webp 1160w, https:\/\/www.kaashivinfotech.com\/blog\/wp-content\/uploads\/2025\/11\/1_8-j8zcm77WONz3uziGYOVw.webp 1536w\" sizes=\"(max-width: 434px) 100vw, 434px\" \/><\/p>\n<p><span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_2h_\" data-state=\"closed\" data-slot=\"popover-trigger\">The fancy version that is readable is this one:<\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\">result = ''.join(chr(ord(c)-32) if 'a' &lt;= c &lt;= 'z' else c for c in word)\r\n<\/pre>\n<p><span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_2j_\" data-state=\"closed\" data-slot=\"popover-trigger\">I would not suggest this to novices, but otherwise, it is beautiful in Python.<\/span><\/p>\n<h2><span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_2k_\" data-state=\"closed\" data-slot=\"popover-trigger\">My Honey-True Opinions (and a Little Tale).<\/span><\/h2>\n<p><span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_2l_\" data-state=\"closed\" data-slot=\"popover-trigger\">My initial attempt at doing uppercase without built-in Python method was a total failure as I did not have the slightest idea of how characters worked.<\/span><\/p>\n<p><span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_2m_\" data-state=\"closed\" data-slot=\"popover-trigger\">I believed that Python was keeping the capital letters in some table somewhere.<\/span><\/p>\n<p><span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_2n_\" data-state=\"closed\" data-slot=\"popover-trigger\">In theory, that was not completely wrong&#8230; however, learning about Unicode, ASCII, and indexing made me have a different perception of programming.<\/span><\/p>\n<p><span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_2o_\" data-state=\"closed\" data-slot=\"popover-trigger\">Assuming you are learning this now, then I tell you that you are doing what many novice programmers never even think of doing.<\/span> <span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_2p_\" data-state=\"closed\" data-slot=\"popover-trigger\">Knowing this will enable you to help you in:<\/span><\/p>\n<p>cryptography encoding \/ decoding text processing building compilers handling multilingual data<\/p>\n<p><span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_2q_\" data-state=\"closed\" data-slot=\"popover-trigger\">Yes this is not an arbitrary coding trick.<\/span><\/p>\n<p><span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_2r_\" data-state=\"closed\" data-slot=\"popover-trigger\">You are developing actual computer-science-level knowledge. \ud83d\ude80<\/span><\/p>\n<p>&nbsp;<\/p>\n<h3><strong>Final Thoughts<\/strong><\/h3>\n<p><span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_33_\" data-state=\"closed\" data-slot=\"popover-trigger\">Whatever you extract out of this article, do it in this:<\/span><\/p>\n<p>\u2714 Python upper() is simple<\/p>\n<p><span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_34_\" data-state=\"closed\" data-slot=\"popover-trigger\">But the reasoning of it is interesting.<\/span><\/p>\n<p><span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_35_\" data-state=\"closed\" data-slot=\"popover-trigger\">\u2714 The best way to learn how text interacts within computers is to do uppercase with no in-built Python method.<\/span><\/p>\n<p><span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_36_\" data-state=\"closed\" data-slot=\"popover-trigger\">These methods will certainly be beneficial, whether you have to create your beginner scripts or prepare for the interviews.<\/span><\/p>\n<p><span aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"radix-_r_37_\" data-state=\"closed\" data-slot=\"popover-trigger\">And by the way, ever come up with your own version of upper? You are more or less writing mini-python. \ud83d\udd25<\/span><\/p>\n<h2><strong>Related Reads:<\/strong><\/h2>\n<ul>\n<li><a href=\"https:\/\/www.kaashivinfotech.com\/blog\/wordpress-developer-salary-in-india\/\"><strong>WordPress Developer Salary in India<\/strong><\/a>\u00a0\u2014 a detailed look at what WordPress developers earn in India and the factors influencing their pay.<\/li>\n<li><a href=\"https:\/\/www.kaashivinfotech.com\/blog\/how-to-build-a-website-from-scratch\/\"><strong>How to Build a Website from Scratch<\/strong><\/a>\u00a0\u2014 a beginner-friendly guide on creating a website from domain to launch.<\/li>\n<li><a href=\"https:\/\/internship.kaashivinfotech.com\/web-development-internship\/\"><strong>Web Development Internship<\/strong><\/a>\u00a0\u2014 details about Kaashiv InfoTech\u2019s internship covering full-stack web development.<\/li>\n<li><a href=\"https:\/\/www.wikitechy.com\/tutorials\/wordpress\/\" target=\"_blank\" rel=\"noopener\"><strong>WordPress Tutorial<\/strong><\/a>\u00a0\u2014 an extensive tutorial on WordPress basics.<\/li>\n<li><a href=\"https:\/\/www.wikitechy.com\/tutorials\/wordpress\/wordpress-dashboard\" target=\"_blank\" rel=\"noopener\"><strong>WordPress Dashboard<\/strong><\/a>\u00a0\u2014 a guide focused on understanding and using the WordPress admin interface effectively.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Key Highlights &nbsp; Find out what the Python upper() function does, and just how useful it can be. Learn how you can uppercase text even if you want to avoid using built-in Python methods. It&#8217;s filled with real examples and some funny stories from my days of learning to code. It&#8217;s written in a way [&hellip;]<\/p>\n","protected":false},"author":35,"featured_media":19679,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3236],"tags":[2909,9080,772,1257,3605,10391,1253,10392,10390,10389],"class_list":["post-19702","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python","tag-coding-for-beginners","tag-programming-guide","tag-python","tag-python-basics","tag-python-string","tag-python-tips","tag-python-tutorial","tag-string-manipulation","tag-string-methods","tag-uppercase-string"],"_links":{"self":[{"href":"https:\/\/www.kaashivinfotech.com\/blog\/wp-json\/wp\/v2\/posts\/19702","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kaashivinfotech.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kaashivinfotech.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kaashivinfotech.com\/blog\/wp-json\/wp\/v2\/users\/35"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kaashivinfotech.com\/blog\/wp-json\/wp\/v2\/comments?post=19702"}],"version-history":[{"count":0,"href":"https:\/\/www.kaashivinfotech.com\/blog\/wp-json\/wp\/v2\/posts\/19702\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.kaashivinfotech.com\/blog\/wp-json\/wp\/v2\/media\/19679"}],"wp:attachment":[{"href":"https:\/\/www.kaashivinfotech.com\/blog\/wp-json\/wp\/v2\/media?parent=19702"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kaashivinfotech.com\/blog\/wp-json\/wp\/v2\/categories?post=19702"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kaashivinfotech.com\/blog\/wp-json\/wp\/v2\/tags?post=19702"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}