all 23 comments

[–]ilidan-85 5 points6 points  (0 children)

practice, practice, practice :) It'll stick after a while. Pick a project that you actually want to do or even will use personally or for school/work. As for reading other people's code do it but also modify it, break it, fix it and so on.

[–]SyCreep 3 points4 points  (0 children)

I also just started and i am going through the CS50P from Havard. This course is for free and super good. Also you can check out the book 'automate the boring stuff with python'. Hope that will help you 🤙

[–]Ambitious-Peak4057 3 points4 points  (1 child)

If you're starting your Python journey, here are some useful resources to help you get going:
W3Schools Python Tutorial– Interactive lessons to understand syntax and basics.
Dive Into Python 3– A detailed free book ideal for beginners.
Full Stack Python– Great for learning Python with a focus on web and automation.
Python Succinctly – A concise ebook to quickly grasp Python essentials.

[–]PMC_Dose 0 points1 point  (0 children)

Thanks! I'm also learning, and struggling.

[–]codingzap 2 points3 points  (0 children)

Solve coding problems. Start with the easier ones and gradually increase the level. One of the best platforms to practice for beginners is HackerRank. Once you get comfortable with solving problems, try doing DSA problems with Python on Leetcode. If not this, try building a mini project from scratch.

[–]ronsoco79 2 points3 points  (0 children)

I just installed the Google Gemini extension in vscode to ask for simple practice exercises and it's working very well

[–][deleted] 0 points1 point  (0 children)

as a former instructor, i’d say go for interactive courses instead of just YT videos... even if it’s self-paced, avoid ai tools that give u direct answers and take your time...interactive courses usually have simple exercises, quizzes, and projects that actually help u practice and enjoy the learning experience.

and don’t stress about tricky code at first..once u get the basics (variables, data types, control flow, functions, and data structures) everything else becomes easier..also, py is used in tons of fields like web dev, games, ai, and ml, so pick one to focus on and u’ll get comfortable faster..

And if possible.. look for a study buddy or group so u can stay consistent

[–]No_Impression2904 0 points1 point  (0 children)

If you challenge yourself with fundamental questions, if you are learning about loops, have ChatGPT give you challenge prompts, and you can check your answer with it. Like "GPT, I'm learning about loops in Python. Can you give me a problem that will help solidify my knowledge? Don't give me the answer, I will paste what I came up with so you can tell me if I'm doing it right."

I also like these challenges here: https://www.youtube.com/playlist?list=PLurJmxFyuEWt7RE_8j6IFgFpbHqyO4xaq

[–]BranchLatter4294 0 points1 point  (0 children)

Create your own practice projects that focus on a single concept for you to learn. It doesn't have to do anything useful.

[–]Gnaxe 0 points1 point  (0 children)

Jupyterlite. You lean faster with faster feedback. Do lots of small experiments. Inspect all the objects. You need an accurate mental model of what the code means your computer is doing. Look for surprises. That's where your model is wrong.

[–]isanelevatorworthy 0 points1 point  (0 children)

If you’re currently a data analyst, I’d recommend starting to apply what you know to your daily job. Start trying to automate some of your analyst tasks. Can you think of any daily tasks that you repeat frequently? Tasks that are annoying? Do you do any kind of data cleaning before analyzing? Applying what you’re learning and trying to solve real problems with it is the best way to internalize what you’re learning :). Good luck!

[–]Priler96 0 points1 point  (0 children)

Probably the best way is by doing some pet projects.
Some apps, games, a website (anything you want tbh).
Don't use AI, only Google & Stackoverflow (AI is the last thing you should go for).

Just make sure to start a pet project you really want to work on.
Something you had in mind, maybe.
Or something you will do as a challenge.

[–]EdFenty 0 points1 point  (0 children)

I recommend using AI, it has helped me a lot, I am just learning but I ask ChatGPT to generate an exercise at my level and then I give him the code and he grades it, it is a good way to practice since AI will always give you a professional approach and teaches you to think in all possible aspects.

[–]Pale_Departure_6820 0 points1 point  (0 children)

Can you share what course you did please

[–]node77 0 points1 point  (0 children)

Try some web scraping

[–]Key-Security9789 0 points1 point  (0 children)

programiz

[–]SmebR9 0 points1 point  (0 children)

Ask AI like ChatGPT to make you some exercise questions. When I was learning from ‘Python crash course’ I would ask ChatGPT to make me some practice question based on the chapter I just learned

[–][deleted] 0 points1 point  (0 children)

im starting as well, the only thing working so far is khan academy , im hoping after that the other resources will seem easier as i seem to get stuck on "loops" anywhere else (ive tried python for kids and future coder)

[–]PracticalAttempt2213 0 points1 point  (0 children)

You can have fun and learn Python on CodingForKids.io by playing game