<?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>Forem: Vanshika</title>
    <description>The latest articles on Forem by Vanshika (@vanshika_19).</description>
    <link>https://forem.com/vanshika_19</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1841488%2F008037ea-5a73-4871-b5c8-d10b44602688.webp</url>
      <title>Forem: Vanshika</title>
      <link>https://forem.com/vanshika_19</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/vanshika_19"/>
    <language>en</language>
    <item>
      <title>Python Challenge #2 -Data Types Demystified!</title>
      <dc:creator>Vanshika</dc:creator>
      <pubDate>Fri, 08 Aug 2025 13:01:22 +0000</pubDate>
      <link>https://forem.com/vanshika_19/python-challenge-2-data-types-demystified-2k8h</link>
      <guid>https://forem.com/vanshika_19/python-challenge-2-data-types-demystified-2k8h</guid>
      <description>&lt;p&gt;Why Data Types Matter?&lt;/p&gt;

&lt;p&gt;In Python, everything is an object. That means whether you’re dealing with numbers, strings, lists, or even functions, they all have a type.&lt;br&gt;
The catch? Misunderstanding data types can lead to unexpected results and hard-to-debug bugs.&lt;br&gt;
Today's Challenge: Data Types&lt;/p&gt;

&lt;p&gt;Here are a few quick questions. Try them out 👇&lt;/p&gt;

&lt;p&gt;1.One comma can change everything in Python…&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5fy6nntc6guyuez10hng.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5fy6nntc6guyuez10hng.png" alt=" " width="800" height="324"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;2.Did you know booleans can behave like integers?&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnh3hrup4pqob55t5s3d1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnh3hrup4pqob55t5s3d1.png" alt=" " width="800" height="220"&gt;&lt;/a&gt;&lt;br&gt;
3.Equal values ≠ same object.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foll8c7ioqrmv16dh5e0d.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foll8c7ioqrmv16dh5e0d.png" alt=" " width="800" height="289"&gt;&lt;/a&gt;&lt;br&gt;
4.{} isn’t always what you think it is…&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fentqmgl1rop7bs6beo6a.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fentqmgl1rop7bs6beo6a.png" alt=" " width="800" height="220"&gt;&lt;/a&gt;&lt;br&gt;
5.Change one, change the other, reference magic.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpvpf6gjd4l9sa9b0wgd9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpvpf6gjd4l9sa9b0wgd9.png" alt=" " width="800" height="324"&gt;&lt;/a&gt;&lt;br&gt;
6.Comma creates tuples, not just parentheses.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ft49x1n01slnf3w0kkz4g.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ft49x1n01slnf3w0kkz4g.png" alt=" " width="800" height="255"&gt;&lt;/a&gt;&lt;br&gt;
7.Operations change data types too.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhe2pwpre2mmgpzro9yot.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhe2pwpre2mmgpzro9yot.png" alt=" " width="800" height="203"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Think Before You Run&lt;/p&gt;

&lt;p&gt;Try to predict the output before executing.&lt;br&gt;
Once you do, check your prediction against Python’s behavior and that’s where the real learning begins!&lt;/p&gt;

</description>
      <category>python</category>
      <category>machinelearning</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Python Challenge #1 Explained!</title>
      <dc:creator>Vanshika</dc:creator>
      <pubDate>Tue, 05 Aug 2025 15:37:24 +0000</pubDate>
      <link>https://forem.com/vanshika_19/python-challenge-1-explained-g36</link>
      <guid>https://forem.com/vanshika_19/python-challenge-1-explained-g36</guid>
      <description>&lt;p&gt;Welcome to the first Python Challenge in my #PythonToML journey!&lt;br&gt;
In this post, I break down each mind-bending expression from the challenge and explain what’s really happening under the hood.&lt;/p&gt;

&lt;p&gt;Let’s dive right into the puzzle pieces..&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdwl3kjm3pn5jct9cg2qb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdwl3kjm3pn5jct9cg2qb.png" alt=" " width="800" height="220"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Answer: False&lt;/p&gt;

&lt;p&gt;Explanation:&lt;br&gt;
Due to floating-point precision errors in binary, 0.1 + 0.2 results in 0.30000000000000004, not exactly 0.3. So the expression evaluates to:&lt;/p&gt;

&lt;p&gt;x = False&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqxc1162to3og5pyjgmjc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqxc1162to3og5pyjgmjc.png" alt=" " width="800" height="220"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Answer: [False, 'T', 'r', 'u', 'e']&lt;/p&gt;

&lt;p&gt;Explanation:&lt;br&gt;
You’re concatenating:&lt;/p&gt;

&lt;p&gt;An empty list []&lt;/p&gt;

&lt;p&gt;A list with a single Boolean: [False]&lt;/p&gt;

&lt;p&gt;A list made from the string "True" → ['T', 'r', 'u', 'e']&lt;/p&gt;

&lt;p&gt;Result: [False, 'T', 'r', 'u', 'e']&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1t7dcc61hswr5cnxswgq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1t7dcc61hswr5cnxswgq.png" alt=" " width="800" height="358"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Answer:&lt;br&gt;
True&lt;br&gt;
False&lt;/p&gt;

&lt;p&gt;Explanation:&lt;br&gt;
Python caches small integers (from -5 to 256) as a performance optimization. So:&lt;/p&gt;

&lt;p&gt;256 is 256 → True (both point to the same object)&lt;/p&gt;

&lt;p&gt;257 is 257 → False (different objects beyond the cached range)&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy6f6apzqdnmz6gi9kyj6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy6f6apzqdnmz6gi9kyj6.png" alt=" " width="800" height="289"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Answer: "No"&lt;/p&gt;

&lt;p&gt;Explanation:&lt;br&gt;
Since a = 5 and b = 7, a &amp;gt; b and a == b are both false. So it returns "No" from the last else.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fepwc3d0e1rdyuura8v3v.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fepwc3d0e1rdyuura8v3v.png" alt=" " width="800" height="220"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Answer: (9,)&lt;/p&gt;

&lt;p&gt;Explanation:&lt;br&gt;
Notice the comma at the end! That makes it a tuple with a single element.&lt;br&gt;
So the value inside is 9, but it’s wrapped in a tuple.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flblyfdkxld5w1r4nsae5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flblyfdkxld5w1r4nsae5.png" alt=" " width="800" height="220"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Answer: [1, 2, 3, 1, 2, 3, 1, 2, 3]&lt;/p&gt;

&lt;p&gt;Explanation:&lt;/p&gt;

&lt;p&gt;x * 2 duplicates the list: [1, 2, 3, 1, 2, 3]&lt;/p&gt;

&lt;p&gt;Then you concatenate it with x: [1, 2, 3]&lt;/p&gt;

&lt;p&gt;Result: [1, 2, 3, 1, 2, 3, 1, 2, 3]&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu6o0rycra2vzm7fquwre.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu6o0rycra2vzm7fquwre.png" alt=" " width="800" height="220"&gt;&lt;/a&gt;&lt;br&gt;
Answer: 2 1&lt;/p&gt;

&lt;p&gt;Explanation:&lt;br&gt;
This is a chained assignment. The rightmost a = 1, b = 2 executes first.&lt;br&gt;
Then a, b = b, a becomes a = 2, b = 1&lt;br&gt;
.&lt;br&gt;
.&lt;br&gt;
.&lt;br&gt;
🧵 Takeaway&lt;/p&gt;

&lt;p&gt;These tricky Python expressions aren’t just clever gotchas, they reveal deeper truths about how Python handles memory, data types, and syntax quirks.&lt;/p&gt;

&lt;p&gt;Want more?&lt;br&gt;
👉 Follow the series and challenge yourself with fresh Python &amp;amp; ML puzzles.&lt;br&gt;
Let’s learn, debug, and grow together.&lt;br&gt;
.&lt;br&gt;
.&lt;br&gt;
.&lt;/p&gt;

&lt;h1&gt;
  
  
  PythonChallenge #PythonTips #LearnInPublic #MachineLearningJourney #DevTo #MediumPython #WomenInTech #100DaysOfCode
&lt;/h1&gt;

</description>
    </item>
    <item>
      <title>Python Challenge #1 -Expressions Edition</title>
      <dc:creator>Vanshika</dc:creator>
      <pubDate>Sun, 03 Aug 2025 06:48:07 +0000</pubDate>
      <link>https://forem.com/vanshika_19/python-challenge-1-expressions-edition-4ph2</link>
      <guid>https://forem.com/vanshika_19/python-challenge-1-expressions-edition-4ph2</guid>
      <description>&lt;p&gt;Welcome to my Python-to-ML Challenge Series &lt;br&gt;
As I brush up on Python and transition into Machine Learning, I'm sharing short but tricky Python questions to test your fundamentals.&lt;/p&gt;

&lt;p&gt;Today's Challenge: Expressions&lt;/p&gt;

&lt;p&gt;Here are a few quick questions. Try them out 👇&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Floating-point math… friend or foe? 🧮&lt;br&gt;
Guess what this prints! &lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2mlpqtnf4z25945vtmgl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2mlpqtnf4z25945vtmgl.png" alt=" " width="800" height="220"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Mix booleans, lists, and strings... what could go wrong? 🤔&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq0kof24vlyzvw3y6mqcn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq0kof24vlyzvw3y6mqcn.png" alt=" " width="800" height="220"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Same numbers. Same values. But are they the same objects?&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsqy0w6f3qkqtv6dj5040.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsqy0w6f3qkqtv6dj5040.png" alt=" " width="800" height="358"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Nested ternary operators: readable logic or riddle in disguise?&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6b48vsvc3lkdmo5zrvdj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6b48vsvc3lkdmo5zrvdj.png" alt=" " width="800" height="289"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;That comma at the end... a typo or a twist&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvan740yni5rl8gpb469x.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvan740yni5rl8gpb469x.png" alt=" " width="800" height="220"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;List arithmetic isn't like math class.&lt;br&gt;
Predict the output 👇&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F177jo37h1ycfo4c65v6x.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F177jo37h1ycfo4c65v6x.png" alt=" " width="800" height="220"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Python’s chained assignment... who swaps with whom?&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fx8vgzcq72b9kdpxnwnip.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fx8vgzcq72b9kdpxnwnip.png" alt=" " width="800" height="220"&gt;&lt;/a&gt; &lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Share your answers in the comments!&lt;br&gt;
Follow me to keep up with future Python and ML challenges!&lt;/p&gt;

</description>
      <category>programming</category>
      <category>python</category>
      <category>beginners</category>
      <category>learning</category>
    </item>
    <item>
      <title>From Python to ML: A Challenge-Based Learning Journey</title>
      <dc:creator>Vanshika</dc:creator>
      <pubDate>Fri, 01 Aug 2025 16:43:50 +0000</pubDate>
      <link>https://forem.com/vanshika_19/from-python-to-ml-a-challenge-based-learning-journey-50ma</link>
      <guid>https://forem.com/vanshika_19/from-python-to-ml-a-challenge-based-learning-journey-50ma</guid>
      <description>&lt;p&gt;Hi everyone 👋 🤠 &lt;/p&gt;

&lt;p&gt;This isn’t my first time with Python, but this time I’ve decided to take a different route.&lt;/p&gt;

&lt;p&gt;Instead of quietly relearning and moving forward into Machine Learning on my own, I’m building something public, consistent, and hopefully useful for others who are on a similar journey. I'm calling it the Python to ML Challenge Series.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is This Series About?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;As I revisit core Python concepts and gradually step into Machine Learning, I’ll be sharing regular posts that include:&lt;/p&gt;

&lt;p&gt;1.Short but tricky Python challenges&lt;/p&gt;

&lt;p&gt;2.Explanations of subtle behaviors in Python&lt;/p&gt;

&lt;p&gt;3.ML learning notes and practical tips&lt;/p&gt;

&lt;p&gt;4.Mini projects and hands-on experiments&lt;/p&gt;

&lt;p&gt;5.Reflections and “aha!” moments&lt;/p&gt;

&lt;p&gt;Each Python challenge will be designed to sharpen logical thinking, refresh forgotten concepts, or reveal lesser-known quirks of the language. Once I’m done with the core Python topics, I’ll transition to the Machine Learning part of the journey and continue posting content related to model building, data exploration, and beyond.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why I’m Doing This?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;There are three key reasons I chose to make this a public journey:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Accountability – Posting regularly helps me stay consistent and track progress.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Community – I want to build and contribute to a space where people support each other’s learning.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Retention – Teaching or writing about a concept helps it stick better than passive reading or watching.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Who This Is For?&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Python beginners or people revisiting the language&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Machine Learning enthusiasts at any stage&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Anyone who enjoys solving logic problems or debugging puzzles&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;People who believe in learning in public and growing together&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;What’s Next?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The first Python Challenge post will be live shortly. It’ll include a few questions and their answers, just enough to make you pause and think, even if you're already comfortable with Python.&lt;/p&gt;

&lt;p&gt;You’re welcome to solve along, share your approach, or even add your own twist in the comments.&lt;/p&gt;

&lt;p&gt;Let’s turn solo learning into shared growth.&lt;/p&gt;

&lt;p&gt;Follow the tag #PythonChallenge to stay in the loop.&lt;/p&gt;

&lt;p&gt;Thanks for reading. If you're working on something similar, I’d love to hear about your learning path too.&lt;/p&gt;

</description>
      <category>python</category>
      <category>machinelearning</category>
      <category>codenewbie</category>
      <category>womenintech</category>
    </item>
  </channel>
</rss>
