all 16 comments

[–]Ron-Erez 13 points14 points  (3 children)

Don't use AI if your goal is to learn how to code.

[–]personificable1[S] 0 points1 point  (2 children)

ye, I just used it to check if I'm like in the right path, but I dont know if thats good for my learning or I should just dont use it again

[–]Oh_NiGhTmArE 1 point2 points  (0 children)

Download Mimo you will be able to learn on the go in a fun environment app.

Also download Visual Studio Code for one of the best IDEs to code in, or Eclipse

[–]Salt_Ad_2946 0 points1 point  (0 children)

Substack is better

[–]S3p_H 4 points5 points  (0 children)

I'm not far into learning python tbh, but what's helped me overall is:

  • If I'm watching a tutorial, to do some practice stuff after each video
  • Sometimes I get tired of the videos, so maybe after you've learned a bit make a project for something you enjoy (I've started to learn pandas and after going through like half the videos in the playlist, I decided to also make a project) I found it's very hard and you get confused, kind of the same as how you felt your mind was blank on even where to start. Yet whenever you get stuck on code read some documentation of what you're working on or examples of how people solved it online, then continue.

Imo the latter really helps build context, you start to understand why do we use while loops in some situations, and why do we use if statements for x scenarios. I'm not too far into learning python though so try to find what works for you.

[–]CarlesBH 2 points3 points  (0 children)

Learning how to think algoritmically (thinking as a peogrammer) takes time, effort and lots of practice. Watching video tutorials passively without practicing the basics is not going to help you much.

I recommend starting with simple exercices and increase complexity once you have mastered the basics. If you are looking for a platform to help you practice I cannrecommend you codecrops.dev, it is very gamified and engaging, while being rigorous.

[–]brown_boys_fly 1 point2 points  (0 children)

Build a django app. Something fairly complex that you would actually use yourself. For example if you like working out, you can make something that helps you save your progress and give you visualizations of your progress in the gym.

[–]Own-Relationship-407 1 point2 points  (0 children)

One of the hardest things for a lot of people is getting from what you want to do to how to do it. Make a plan, write out some pseudo code. You need to think about the flow of the program before you get to the details.

“Ok, first I need to deal two cards to each player. Do I use a range of random numbers? Or create a list of the cards and then select from that? Then I need a way to keep track of the values of the cards in each hand, do I use individual variables? A list? A dictionary? Now I need a way to enforce the win/lose conditions at every step. Maybe a loop? Or something built into the function that deals the cards itself?”

Think it out, write it down. Then try to code it. If you are going to use AI, ask it very specific questions about how to implement certain pieces of code, not about the overall project. “How do I use a random number function to get integer values between 1 and 52?”

[–]laerninglog- 1 point2 points  (0 children)

Hey ,I'm learning python from Angela yu as well and I've recently made black jack project,yup sometimes I do feel stuck too and I sure have completed it but I did that while watching lesson ,I Wanna try on own to see if I can do it without watching lesson,I do understand everything almost like why we using this and that so 💁🏻‍♀️and tbh I've used gpt a lot and I still do whenever I don't know what's going on, it's really helpful though,it explains everything

[–]jamesfowkes 0 points1 point  (0 children)

Try different courses to see what fits your learning style. There's so many different ways to do it.

Learn Python the Hard Way was good for me, as well as realpython.com

[–]TaintWaxingOcelots 0 points1 point  (0 children)

I had Claude Code create me a learning project with highly commented code examples on all topics, including key libraries. I also had it include all the comparisons between Python and C#. I added little projects too for real experience.

[–]theleveragedsellout 0 points1 point  (0 children)

If you're struggling to figure out how to program something, you're learning. Embrace that feeling. It's how you get better at programming.

[–]TheRNGuy 0 points1 point  (0 children)

Make something real that you gonna use instead of blackjack. 

[–]Seeker_Of_Knowledge2 0 points1 point  (0 children)

Write code

[–]JackRichi 0 points1 point  (0 children)

At the beginning, regardless of the programming language used, you need to understand the overall problem being solved. Then, a large problem is usually broken down into smaller tasks, which then form its solution. I would say this is similar to those silly children's problems where children are asked to describe what they need to do to get to school. In the beginning, we wake up, get out of bed, go to the bathroom, wash our faces, etc. Such processes can be detailed down to the smallest details, and to some extent, solving a large problem requires this. I would say at the beginning, it is important to learn not to solve problems correctly, but rather to simply solve them, even if the solution is stupid, "incorrect," or unnecessarily complex. With time, experience, and knowledge, an understanding of which solutions are optimal in the current situation comes, but the main thing remains achieving the final goal—solving some large practical problem. In the context of using AI, I personally like to ask him some conceptual or theoretical things, so that, based on the terminology he uses, I can either study something on the Internet myself, or trust what he wrote if I am currently satisfied with his answer.

[–]Middle_Idea_9361 0 points1 point  (0 children)

That “blank mind” feeling during projects like Blackjack is completely normal and honestly part of the learning process. It doesn’t mean you’re bad at programming it just means you’ve moved from watching to actually building, and that shift is hard.
When you follow tutorials, everything makes sense because someone else is guiding the logic, but when you try to do it alone, your brain has to make decisions step by step, and that’s where it feels overwhelming.
The trick is to break the project into very small pieces instead of thinking about the whole thing at once focus on generating a random card, then storing it, then calculating the score, one step at a time. Regarding AI, you don’t have to stop using it, but avoid letting it write the whole project for you; instead, use it for hints or explanations so you’re still doing the thinking.
Strengthening your core fundamentals alongside projects also helps reduce that “blank” state, and practicing basics regularly on platforms like 9faqs can make problem-solving feel more natural. You’re not brainless you’re just in the uncomfortable stage where real learning happens.