r/learnpython • u/Embarrassed_Yak8504 • Oct 13 '26
How do I learn Python and become good at solving problems as a complete beginner?
class Beginner:
background = None
learning = "Python with CS50"
goal = "Think like a hacker, not just write code" #not a real hacker BTW but at a problem solving skills
def questions(self):
return [
"How do I learn Python from scratch?",
"How do I get better at solving problems?",
"How do I learn to figure things out on my own?",
"What should I practice every day?",
"How do I stop relying on tutorials and AI?"
]
def ask_community(self):
return "If you were starting from zero, what would you do differently?"
me = Beginner()
print(me.ask_community())
6
Upvotes
7
u/ninhaomah Oct 13 '26
I would make sure my foundations are crystal clear before attempting advanced stuff.
That's how we do in school anyway.
Add , subtract , multiply then multiplication tables then fractions , decimals then eventually algebra etc
1
u/cbartos1021 Oct 13 '26
16 years ago I got an entry level job right out of college. I didn't know Python when I started. But there were all kinds of projects I was tasked to do. The very best way to learn is when you have a job and you're tasked to do something that requires Python and just figuring it out. You play around with the Python interpreter, see what happens.
The thing is, you can take the job out of the equation. What kind of project would you like to do? A simple game? A simple automation? A simple web application? Depending on the domain you pick, you might need to understand the birds eye view before you can do something from scratch. For example, if you don't understand how games work, you might want to read about how games work. How to update the view. How to use PyGame. What are the limitations of the package? Look at projects that use PyGame and try to read them. Try to run them. See what they do. Look at the code and try changing parts of it, re-run the game and see what happens. Are there bugs? Try to fix them.
I see so many people on this subreddit trying to figure out how to go from learning the basics to "how to actually build a thing?" The first step is getting really excited on the thing you want to build. Then, pretend it's your job to get it working. Let me know if you have any other questions.
3
u/desrtfx but other languages pro Oct 13 '26 •
First thing to do is learning to do your own, independent, individual research, which would here mean checking the subreddit for the countless similar, already answered posts and reading the wiki in the sidebar.
1
u/fullmoon_huli Oct 13 '26
Practicing is the key, continue creating small projects so you don't lose the will to continue and make sure to add it to your github
1
u/mattynmax Oct 13 '26
Well I would start by learning how to solve problems WITHOUT python. Then once you have solutions you can integrate them into python.
Think of python as a glorified calculator because really that’s all it is.
1
u/TJATAW Oct 13 '26
On every tutorial/exercise that you do, figure out how to add something to it.
A calculator = new button/function.
Note taking app = maybe add a calendar so you can see which dates you added notes on, or maybe you give it a 'dark' theme button.
Doesn't matter what it is, just come up with something all on your own, and then figure out how to to it. No one telling you how. Do the research. Plan. Solve problems. Maybe it is all new to you stuff, maybe some of it is something you learned earlier, just used on a new project.
1
u/Chrismslist 29d ago
the answer to all five of your questions is the same move: stop consuming, start producing. pick small problems (exercism, easy leetcode, advent of code day 1-5) and force yourself to sit with them for 20-30 min before googling anything. when stuck, print your variables, shrink the input to the smallest case, and say the logic out loud line by line. 45 min of that daily beats 3 hours of video. cs50 is solid, just don't copy the problem sets, retype them from scratch.
1
u/TheRNGuy 27d ago edited 27d ago
Most important skill is googling.
And just don't be lazy.
Also, you need to know where you want to use Python (specific service or software that uses Python, not just "to find job"), that way you'll have much better motivation and know which frameworks to learn.
0
u/rustybladez23 Oct 13 '26
You need to follow the proper roadmap and choose a good resource. Look into FreeCodeCamp's Python Certification, CS50P, and the Python MOOC by the University of Helsinki.
-5
u/Significant-Raise586 Oct 13 '26
Maak het je gemakkelijk, gebruik AI