<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ksukanya on Medium]]></title>
        <description><![CDATA[Stories by Ksukanya on Medium]]></description>
        <link>https://medium.com/@ksukanya37?source=rss-189529dfaee9------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*UwTZm5faagS03iYN</url>
            <title>Stories by Ksukanya on Medium</title>
            <link>https://medium.com/@ksukanya37?source=rss-189529dfaee9------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 18:08:59 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ksukanya37/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Split vs No Split: The Subtle Python Input Difference That Shapes Your Lists]]></title>
            <link>https://ai.plainenglish.io/split-vs-no-split-the-subtle-python-input-difference-that-shapes-your-lists-3a11cb2204dd?source=rss-189529dfaee9------2</link>
            <guid isPermaLink="false">https://medium.com/p/3a11cb2204dd</guid>
            <category><![CDATA[python-split-string]]></category>
            <category><![CDATA[decoding]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[self-improvement]]></category>
            <dc:creator><![CDATA[Ksukanya]]></dc:creator>
            <pubDate>Sun, 12 Oct 2025 17:40:43 GMT</pubDate>
            <atom:updated>2026-09-09T01:14:19.184Z</atom:updated>
            <content:encoded><![CDATA[<p>In Python, a small change — using or skipping the “<strong>.split()”</strong> method—can completely transform how your program processes and sorts numbers from user input. Understanding this distinction will sharpen your grip on data manipulation and make you a more thoughtful coder.</p><h3><strong>Sorting Lists: The Classic Task</strong></h3><p>Sorting numbers in Python is a must-know task. The most direct approach uses the built-in <strong>.sort()</strong></p><p><strong><em>sample_list = [3, 7, 6]</em></strong></p><p><strong><em>sample_list.sort()</em></strong></p><p><strong><em>print(sample_list)</em></strong></p><p><em># Output: [3, 6, 7]</em></p><p>Simple. But the real lesson appears when you ask for numbers from user input and decide <em>how</em> to interpret them.</p><h3>With .split(): Sorting Multi-Digit Numbers</h3><p>Suppose you want users to provide numbers separated by spaces. Here’s the ‘standard’ approach:</p><p><strong><em>sample_list = [int(num) for num in input(“Enter numbers separated by spaces: “).split()]</em></strong></p><p><strong><em>sample_list.sort()</em></strong></p><p><strong><em>print(sample_list)</em></strong></p><p><strong>Example run:</strong></p><p><em>#Input: 2 5 88 100 98</em></p><p><em>#Output: [2, 5, 88, 98, 100]</em></p><p>What happened?</p><ol><li><strong>.split() </strong>separates the input string into substrings at each space.</li></ol><p>2. Each substring can represent <em>any</em> integer, single or multi-digit.</p><p>3. Your code produces a sorted list of actual numbers, ready for further processing.</p><p>4. what’s happening here split gives us a list of strings when we have space but if we dont use it value we take as input to the function where theres i no space will always be in range of 0 to 9 , we cannot sort values &gt;9 .</p><h3>Without .split(): Sorting Digits</h3><p>Now, what if you write:</p><p><strong><em>sample_list = [int(num) for num in input(“Enter digits without spaces: “)]</em></strong></p><p><strong><em>sample_list.sort()</em></strong></p><p><strong><em>print(sample_list)</em></strong></p><p><strong>Example run:</strong></p><p>Input: 14563</p><p>Output: [1, 3, 4, 5, 6]</p><p><strong>What happened?</strong></p><p>1.Input is treated as a single string — no splitting is done.</p><p>2.The list comprehension iterates over each character independently.</p><p>3.Each character gets converted into its corresponding digit, from 0 to 9—multi-digit numbers cannot be parsed here.</p><p>4.The result is a sorted list of digits, not numbers</p><h3>The Beautiful Subtlety</h3><p>Why does this difference matter?</p><ul><li>.split() allows parsing complex data, such as multi-digit numbers or values separated by specific delimiters.</li><li>Skipping .split() restricts you to single characters (different from single-digit numbers, which are just characters from 0 to 9 in this context).</li><li>String iteration in Python works character-by-character, so skipping .split() means the user input isn&#39;t tokenized into numbers, but into digits—unless the user inputs spaces, in which case each space triggers its own substring logic</li><li>This principle extends beyond sorting: it touches everything from CSV parsing to log analysis to interactive data entry.​</li></ul><p>So, the next time you write a quick Python input handler, <strong><em>pause and ask yourself: Is my program reading numbers or digits?</em></strong> The answer depends on whether you’re splitting — and <strong><em>that subtle distinction</em></strong> shapes what your code does!</p><h3>Final Thoughts</h3><p>Small choices shape big outcomes. That gorgeous subtlety between splitting input and not forms the backbone of robust, clean data parsing in Python — the kind that separates readable code from unhelpful chaos. Embrace it, play with it, and watch your Python programs grow in clarity and strength.</p><p><em>Have a favorite Python subtlety to share? Drop your reflections below!</em></p><h3>Before you go</h3><ul><li>Please take a moment to like the post and follow the writer!</li><li>Did you know that over 400,000 developers share what they’re building, learning, and discovering across our platforms every month? Learn how you can contribute <a href="https://plainenglish.io/write-for-us"><strong>here</strong></a>.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3a11cb2204dd" width="1" height="1" alt=""><hr><p><a href="https://ai.plainenglish.io/split-vs-no-split-the-subtle-python-input-difference-that-shapes-your-lists-3a11cb2204dd">Split vs No Split: The Subtle Python Input Difference That Shapes Your Lists</a> was originally published in <a href="https://ai.plainenglish.io/">Artificial Intelligence in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Oh My SQL!! “When Queries Feel Like Love Letters”]]></title>
            <link>https://ai.plainenglish.io/oh-my-sql-when-queries-feel-like-love-letters-0fc8f057da25?source=rss-189529dfaee9------2</link>
            <guid isPermaLink="false">https://medium.com/p/0fc8f057da25</guid>
            <category><![CDATA[sql-window-functions]]></category>
            <category><![CDATA[sql]]></category>
            <category><![CDATA[mysql]]></category>
            <category><![CDATA[dense-rank]]></category>
            <category><![CDATA[self-improvement]]></category>
            <dc:creator><![CDATA[Ksukanya]]></dc:creator>
            <pubDate>Tue, 07 Oct 2025 16:20:06 GMT</pubDate>
            <atom:updated>2026-09-09T01:14:13.926Z</atom:updated>
            <content:encoded><![CDATA[<p>Hey SQL,</p><p>I don’t know how to say this, but… I think I’m in love with you.</p><p>Are you even real? Probably not. People might think I’ve gone mad saying this, but the truth is — every time an interviewer says, <em>“You can write it in SQL too,”</em> I swear my heart skips a beat.</p><p>That’s when I whisper, <em>“Oh my SQL, you’ve saved me again.”</em></p><p><strong>The Triplets: Rank, Dense_Rank, and Row_Number</strong></p><p>If SQL had siblings, these three would be the mischievous triplets — so similar that it’s hard to tell them apart, yet each with their own quirks.</p><p>Here’s how I see them:</p><p><strong>RANK() — The Speedster</strong></p><p>This one runs fast and doesn’t wait around. When it finds duplicates, it skips positions like a cheater sprinting ahead.<br> Example:<br> If your scores are 100, 90, 90, 80, the ranks go 1, 2, 2, 4.<br> See that jump from 2 to 4? Classic RANK.</p><p><strong>DENSE_RANK() — The Patient One</strong></p><p>Slow and steady. No skipping, no drama.<br>Same scores — 100, 90, 90, 80 — give 1, 2, 2, 3.<br>It keeps things neat and packed. Respect.</p><p><strong>ROW_NUMBER() — The Strict Twin</strong></p><p>Zero tolerance for duplicates.<br>Every row gets a unique number, no matter what.<br> 100, 90, 90, 80 → 1, 2, 3, 4.<br> Fair. Firm. Focused.</p><p>Row_number- The most strict brother ,it is very distinct and unique in it’s treament, wont accept duplicacy at all, it is like 1,1,2 then it is strict no.</p><p><strong><em>That one Query with all 3 function (1+ 2 offer lol:)</em></strong></p><p>Let’s say you’re ranking books read by each student. You want to find those who have gone beyond a certain number of books in different ranking systems.</p><p>Here’s how our triplets come into play:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WXwjvan1uiiMU1hjLtl0mg.png" /></figure><p><em>Isn’t this interesting and simple :)</em></p><p><em>Want more short and sweet stories that make complicated SQL concepts easier to learn? Drop a comment below — I’d love to hear your thoughts.</em></p><p><strong><em>Happy Reading &amp; Learning :) Sayonara</em></strong></p><h3>Before you go</h3><ul><li>Please take a moment to like the post and follow the writer!</li><li>Did you know that over 400,000 developers share what they’re building, learning, and discovering across our platforms every month? Learn how you can contribute <a href="https://plainenglish.io/write-for-us"><strong>here</strong></a>.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0fc8f057da25" width="1" height="1" alt=""><hr><p><a href="https://ai.plainenglish.io/oh-my-sql-when-queries-feel-like-love-letters-0fc8f057da25">Oh My SQL!! “When Queries Feel Like Love Letters”</a> was originally published in <a href="https://ai.plainenglish.io/">Artificial Intelligence in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DSA — Set Zeros]]></title>
            <link>https://ai.plainenglish.io/dsa-set-zeros-520dc750553d?source=rss-189529dfaee9------2</link>
            <guid isPermaLink="false">https://medium.com/p/520dc750553d</guid>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[leetcode-medium]]></category>
            <category><![CDATA[python-programming]]></category>
            <category><![CDATA[dsa-problem]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Ksukanya]]></dc:creator>
            <pubDate>Sun, 05 Oct 2025 18:02:44 GMT</pubDate>
            <atom:updated>2026-09-09T01:14:29.099Z</atom:updated>
            <content:encoded><![CDATA[<h3>DSA — Set Zeros</h3><p>Today I picked up the <strong>Set Matrix Zeroes</strong> problem on LeetCode, alongside my two SQL queries. I had planned a lot for the day, but I got completely stuck trying to understand the logic behind this problem.</p><p>When I first saw it, I thought it was simple — if any element in the matrix is zero, set its entire row and column to zero. But when I tried to implement it, I couldn’t figure out <em>how</em> to do it properly.</p><p>At first, I tried a brute-force approach using i and j loops, thinking about how to find the zero positions and how to set the top, bottom, left, and right of that element to zero. After endless struggles, hints from ChatGPT, and several failed attempts, I finally watched a YouTube video — and that’s when it clicked!</p><p>The idea is:</p><p>First, check for zero elements in the matrix and mark their corresponding row and column positions.</p><p>Use the first row and first column as markers to store this information.</p><p>In the next pass, use those markers to set the appropriate rows and columns to zero.</p><p>Finally, handle the first row and first column separately, since they were used as markers.</p><p><em>That’s when I finally understood — ohhh, this is how it’s done!</em></p><p>Below is a snip of it :)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C4wjEZ72_Rb3t37ZGz2YZw.png" /></figure><p>Thanks for reading:) <em>Sayonara</em></p><h3>Before you go</h3><ul><li>Please take a moment to like the post and follow the writer!</li><li>Did you know that over 400,000 developers share what they’re building, learning, and discovering across our platforms every month? Learn how you can contribute <a href="https://plainenglish.io/write-for-us"><strong>here</strong></a>.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=520dc750553d" width="1" height="1" alt=""><hr><p><a href="https://ai.plainenglish.io/dsa-set-zeros-520dc750553d">DSA — Set Zeros</a> was originally published in <a href="https://ai.plainenglish.io/">Artificial Intelligence in Plain English</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Satisfactory Good-night:)]]></title>
            <link>https://medium.com/@ksukanya37/satisfactory-good-night-0c010e3fd66b?source=rss-189529dfaee9------2</link>
            <guid isPermaLink="false">https://medium.com/p/0c010e3fd66b</guid>
            <category><![CDATA[random-thoughts]]></category>
            <category><![CDATA[progress]]></category>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[codingjourney]]></category>
            <dc:creator><![CDATA[Ksukanya]]></dc:creator>
            <pubDate>Sat, 04 Oct 2025 18:11:15 GMT</pubDate>
            <atom:updated>2025-10-04T18:11:15.464Z</atom:updated>
            <content:encoded><![CDATA[<p>Hey, self. If I ever whisper a good night to you under my breath, did you catch it?</p><p>Did my silent signal reach you while I stared at the dark sky — so still, so serene — dogs barking like night sirens, the world echoing softly while my heart refused to settle?</p><p>I just want to say: I did well today.<br> Seven SQL problems in ten minutes.<br> No overthinking, no stumbling.<br> Even cracked a medium one.</p><p>What didn’t work? The binge-watching. Why did I fall into that when I knew my priorities? Stress, maybe. Looking for comfort, maybe.</p><p>Whatever it was, I came back.<br> Finished a DSA problem.<br> Studied four hours, even if I had planned twelve.</p><p>I’m still here. Slowly Progressing towards a better future and a better me :) <strong><em>Goodnight, to me and to every relentless soul.</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0c010e3fd66b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[About Me]]></title>
            <link>https://medium.com/@ksukanya37/about-me-e0175e4e9d21?source=rss-189529dfaee9------2</link>
            <guid isPermaLink="false">https://medium.com/p/e0175e4e9d21</guid>
            <category><![CDATA[about-me]]></category>
            <category><![CDATA[self-introduction]]></category>
            <dc:creator><![CDATA[Ksukanya]]></dc:creator>
            <pubDate>Fri, 18 Apr 2025 08:52:20 GMT</pubDate>
            <atom:updated>2025-04-18T08:52:20.655Z</atom:updated>
            <content:encoded><![CDATA[<p>They say, <em>“Focus on the journey, not the destination.”</em><br> In Sanskrit, there’s a verse I often come back to:<br> <strong>“कर्मण्येवाधिकारस्ते मा फलेषु कदाचन।”</strong><br> <em>You have a right to perform your actions, but not to the fruits of those actions.</em></p><p>Simple words. But living them? That’s been my real adventure.</p><p>I’ve always been a thinker. A wanderer in my mind. Some days, I’m grounded and clear. Other days, my thoughts spiral toward results, tangled in expectations.</p><p>But even in the noise, I find my way back. I remind myself to trust the process, to keep moving with purpose, even when the finish line feels far away.</p><p><em>What keeps me going?<br> A relentless curiosity.<br> A quiet fire to understand this world and my place in it.</em></p><p>I’m drawn to the science of intelligence — how machines learn, how fraud hides in data, how leadership shapes people, and how growth transforms the self. I explore everything that blends logic with human nature:</p><ul><li><em>Machine Learning &amp; Artificial Intelligence</em></li><li><em>Fraud Investigations &amp; Truth-Seeking</em></li><li><em>Leadership, Self-Discovery, and the Art of Becoming</em></li></ul><p>I’m not here to preach or pose.<br>I’m <em>here to explore , write, reflect, and share what feels real.</em><br>No filters. <em>Just </em><strong><em>passion</em></strong><em>, </em><strong><em>persistence</em></strong><em>, and the honesty of someone still figuring it all out</em>.</p><p>This space is a <em>mirror</em> of that journey.<br><strong><em>A journal of lessons, questions, and quiet breakthroughs.</em></strong></p><p><em>It’s where a girl — standing somewhere between science and soul — writes her way </em><strong><em>toward purpose</em>.</strong></p><p>If you’re someone who believes in growth, grit, and raw authenticity, then maybe our paths were meant to cross.</p><p>Welcome to my story.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e0175e4e9d21" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>