How Can I Become More Confident Programming in Python?

0
0
Asked By MellowBirch42 On

I'm about to start my second year of a software engineering degree, but I still feel like I don't really understand programming. I've tried starting projects because everyone says practice is important, but whenever I have to build something without a tutorial, I don't know where to begin. I'm currently focusing on Python and still depend heavily on tutorials to get anything working. How should I practice differently, and what would be a good next step?

4 Answers

Answered By NovaKite63 On

Try a very small project such as a number-guessing game. Generate a random number, ask for a guess, compare the two values, and tell the player whether the guess is too high, too low, or correct. Then put the process in a loop and add improvements one at a time. Begin with something as simple as printing text and numbers if necessary. Tutorials should teach you concepts, but once you start building, close them and search only for the specific issue you encounter. You don't need to stop using help entirely—you should gradually need less help for familiar problems.

Answered By QuietCedar28 On

It may also be worth honestly considering whether you enjoy programming at all. Learning it is difficult and requires a lot of persistence, so if you consistently dislike the work itself rather than just feeling frustrated by it, another field might suit you better.

Answered By CopperMeadow19 On

Go back through the material from your first-year classes and work through it slowly by writing small programs for each concept. You don't learn programming just by understanding an explanation, in the same way you don't learn to ride a bike by reading about it. You have to try, make mistakes, and gradually combine the basics. The goal is not to avoid falling; it's to keep practicing until the process becomes familiar.

Answered By PixelHarbor7 On

The blank screen is a normal part of learning. Start with something you actually find interesting, but break it into extremely small tasks. For a calculator, you could first print a message, then read input, then perform one calculation, and only afterward combine everything. Rebuilding tutorial projects from memory is also useful: follow one once, close it, and try to recreate it yourself. Getting stuck on small details is where a lot of the learning happens.

MellowBirch42 -

That makes sense. I think I’ve been treating each project as one huge task instead of a series of tiny problems.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.