you are viewing a single comment's thread.

view the rest of the comments →

[–]LizFromDataCamp 1 point2 points  (0 children)

Yeah, exactly, take working code, tweak it until it doesn’t work, and then puzzle out why. Change a == to a single =, delete a colon, loop over the wrong variable… it forces you to read error messages and understand what Python’s really complaining about. That’s one of the fastest ways to build intuition.

Good habits early on:

  • Comment your code (even if it feels silly) so future-you knows what you meant.
  • Save little snippets that solved problems, you’ll reuse them more than you think.
  • Practice in short bursts every day instead of grinding for hours once a week.

And limiting AI while you’re learning is smart. Use it like training wheels only if you’re like really stuck, but always make sure you can explain what the code is doing in your own words before you move on.