<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Tathagata Sharma</title>
    <description>The latest articles on DEV Community by Tathagata Sharma (@tathagata_sharma_18869e5f).</description>
    <link>https://dev.to/tathagata_sharma_18869e5f</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4151466%2Fd38e0955-0e61-4cc7-9540-3e9bebafb05f.png</url>
      <title>DEV Community: Tathagata Sharma</title>
      <link>https://dev.to/tathagata_sharma_18869e5f</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/tathagata_sharma_18869e5f"/>
    <language>en</language>
    <item>
      <title>Python For-Loop Exercises That Actually Stick (No Install Required)</title>
      <dc:creator>Tathagata Sharma</dc:creator>
      <pubDate>Wed, 30 Sep 2026 06:05:58 +0000</pubDate>
      <link>https://dev.to/tathagata_sharma_18869e5f/python-for-loop-exercises-that-actually-stick-no-install-required-1f91</link>
      <guid>https://dev.to/tathagata_sharma_18869e5f/python-for-loop-exercises-that-actually-stick-no-install-required-1f91</guid>
      <description>&lt;p&gt;Most people "learn" for-loops by reading a tutorial once.&lt;/p&gt;

&lt;p&gt;Then they freeze the first time a real prompt says: sum this list, skip blanks, or stop early when you find a match.&lt;/p&gt;

&lt;p&gt;Loops only stick when you &lt;strong&gt;write&lt;/strong&gt; them under feedback.&lt;/p&gt;

&lt;h2&gt;
  
  
  A practice sequence that works
&lt;/h2&gt;

&lt;p&gt;Do these in order (15–25 minutes):&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Print every item in a list&lt;/li&gt;
&lt;li&gt;Sum numbers while looping&lt;/li&gt;
&lt;li&gt;Count items that match a condition&lt;/li&gt;
&lt;li&gt;Filter (keep only even numbers)&lt;/li&gt;
&lt;li&gt;Use &lt;code&gt;range&lt;/code&gt; and &lt;code&gt;enumerate&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Reverse-iterate once you can go forward cleanly&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Rule: finish one pattern before you jump to the next.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to practice without installing Python
&lt;/h2&gt;

&lt;p&gt;Use a browser editor with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;a clear prompt&lt;/li&gt;
&lt;li&gt;examples&lt;/li&gt;
&lt;li&gt;visible tests&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Fail a test on purpose. Fix &lt;strong&gt;one&lt;/strong&gt; failure. Repeat.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try this path
&lt;/h2&gt;

&lt;p&gt;I built a focused set of for-loop drills here:&lt;/p&gt;

&lt;p&gt;→ &lt;a href="https://pyschool.ai/python-for-loop-exercises" rel="noopener noreferrer"&gt;Python for-loop exercises on PySchool.ai&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Also useful:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://pyschool.ai/python-loops-practice" rel="noopener noreferrer"&gt;Loops practice hub&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Free start: &lt;a href="https://pyschool.ai/lesson/define-a-variable" rel="noopener noreferrer"&gt;Define a Variable&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you only do one thing today: open one loop exercise, get the first test green, then stop. Consistency beats marathon sessions.&lt;/p&gt;

</description>
      <category>python</category>
      <category>beginners</category>
      <category>learning</category>
      <category>programming</category>
    </item>
    <item>
      <title>How to Practice Python Without Installing Anything (And Actually Get Better)</title>
      <dc:creator>Tathagata Sharma</dc:creator>
      <pubDate>Wed, 30 Sep 2026 05:53:20 +0000</pubDate>
      <link>https://dev.to/tathagata_sharma_18869e5f/how-to-practice-python-without-installing-anything-and-actually-get-better-6nm</link>
      <guid>https://dev.to/tathagata_sharma_18869e5f/how-to-practice-python-without-installing-anything-and-actually-get-better-6nm</guid>
      <description>&lt;p&gt;If you're learning Python, there's a trap most beginners fall into:&lt;/p&gt;

&lt;p&gt;You spend an hour installing Python, setting up VS Code, fighting &lt;code&gt;pip\&lt;/code&gt;, and fixing PATH errors — and you still haven't written a single useful line of code.&lt;/p&gt;

&lt;p&gt;You don't need a local install to get good at Python. You need &lt;strong&gt;reps&lt;/strong&gt;: small problems, instant feedback, and a habit of fixing one failing test at a time.&lt;/p&gt;

&lt;p&gt;Here's a practical way to practice Python in the browser — and why it works better than binge-watching tutorials.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why browser practice beats "watch then code later"
&lt;/h2&gt;

&lt;p&gt;Tutorials feel productive. Practice is productive.&lt;/p&gt;

&lt;p&gt;When you solve a tiny exercise with visible tests, you learn:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;how to read a prompt carefully&lt;/li&gt;
&lt;li&gt;how to turn an example into code&lt;/li&gt;
&lt;li&gt;how to debug one failure instead of guessing&lt;/li&gt;
&lt;li&gt;how patterns (loops, lists, conditionals) actually stick&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The goal isn't to finish a 40-hour course in a weekend. The goal is to make &lt;strong&gt;variables → conditionals → loops → lists → functions&lt;/strong&gt; feel automatic.&lt;/p&gt;

&lt;h2&gt;
  
  
  A simple 30-minute practice routine
&lt;/h2&gt;

&lt;p&gt;Use this every day:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Warm-up (5 min):&lt;/strong&gt; one tiny exercise (define a variable, check even/odd, store a string).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Main set (20 min):&lt;/strong&gt; 3–5 problems in &lt;em&gt;one&lt;/em&gt; topic (e.g. only loops, or only strings).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Review (5 min):&lt;/strong&gt; rewrite the pattern in one sentence ("I use a running total while looping").&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Rules that help:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Don't jump to interview/DSA problems until basics feel easy.&lt;/li&gt;
&lt;li&gt;Don't paste a full solution from ChatGPT and call it practice.&lt;/li&gt;
&lt;li&gt;Fix &lt;strong&gt;one&lt;/strong&gt; failing test at a time.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What "good" beginner practice looks like
&lt;/h2&gt;

&lt;p&gt;Start here, in order:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Variables and types&lt;/li&gt;
&lt;li&gt;If/else&lt;/li&gt;
&lt;li&gt;Loops over lists and strings&lt;/li&gt;
&lt;li&gt;Functions that return values&lt;/li&gt;
&lt;li&gt;Then DSA patterns (arrays, stacks, search)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If a site gives you a prompt, starter code, examples, and tests in the browser, you can do this on a Chromebook, a work laptop with no admin rights, or a phone hotspot day.&lt;/p&gt;

&lt;h2&gt;
  
  
  One place to try this today
&lt;/h2&gt;

&lt;p&gt;I've been building &lt;strong&gt;&lt;a href="https://pyschool.ai/python-practice" rel="noopener noreferrer"&gt;PySchool.ai&lt;/a&gt;&lt;/strong&gt; — browser-based Python lessons with a built-in editor, visible tests, and an in-editor AI tutor called Clicky that hints from &lt;em&gt;your&lt;/em&gt; code and failing tests (instead of dumping a full answer).&lt;/p&gt;

&lt;p&gt;Useful starting links:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://pyschool.ai/python-practice" rel="noopener noreferrer"&gt;Python practice hub&lt;/a&gt; — topic paths for beginners → DSA&lt;/li&gt;
&lt;li&gt;&lt;a href="https://pyschool.ai/python-beginner-exercises" rel="noopener noreferrer"&gt;Beginner exercises&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://pyschool.ai/python-for-loop-exercises" rel="noopener noreferrer"&gt;For-loop exercises&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;First lesson: &lt;a href="https://pyschool.ai/lesson/define-a-variable" rel="noopener noreferrer"&gt;Define a Variable&lt;/a&gt; (free preview)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Logged-out learners can open all of &lt;strong&gt;Python Fundamentals&lt;/strong&gt;, plus the first 3 lessons in later modules.&lt;/p&gt;

&lt;h2&gt;
  
  
  If you only take one thing away
&lt;/h2&gt;

&lt;p&gt;Stop optimizing your setup. Optimize your reps.&lt;/p&gt;

&lt;p&gt;Open a browser exercise, fail a test on purpose, fix it, and repeat tomorrow.&lt;/p&gt;

&lt;p&gt;That's how Python actually sticks.&lt;/p&gt;

</description>
      <category>python</category>
      <category>beginners</category>
      <category>learning</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
