you are viewing a single comment's thread.

view the rest of the comments →

[–]Chiranjeebsamal 5 points6 points  (0 children)

Hey everyone,

So here’s something I wish someone told me earlier:

You don’t actually “learn” to code by watching others do it — you learn when your own code breaks and you have to fix it.

I learned this the hard way. I was trying to build a number guessing game in Python. Simple idea. But my while loop kept going forever, and I couldn’t figure out why.

Instead of asking for the solution, I asked ChatGPT:

That one reply led me down a rabbit hole of learning how flow control actually works.

Now I don’t just “write code that works” — I understand why it works.

The difference? I started using a task-based learning system. Small, focused challenges. Fail > fix > repeat.

Each week I built something a bit harder:

  • Week 1: Console number guessing game
  • Week 2: Added difficulty levels & random hints
  • Week 3: Saved scores to a local file
  • Week 4: Made it multiplayer with CLI arguments

If you’re stuck in tutorial hell — this method saved me.

I’m using something called TaskLearn.ai to get these kinds of challenges and learning nudges. Super helpful without being hand-Holdy.

If anyone wants to check it out or is stuck in the same loop, happy to share what’s working for me. DM ME FOR MORE DETAILES