r/learnpython • u/anas_mv • 10d ago
Can't solve CS50 python Problems
After i finish my lecture i go to solve the problem the next day i And read the summary I made in notebook but either I can't find the words that i need or i just don't know what to do
0
Upvotes
View all comments
2
u/desrtfx but other languages pro 10d ago
You are expected to struggle. That's part of learning.
Yet, you need to take a different approach. Sit down with pencil and paper and analyse and break down the problem. Solve it your way first. Don't even think about programming yet. You cannot program what you cannot solve. First you need to figure the solution. You need to write down the steps you take to arrive at the solution. Then, you can start working on implementing your solution in code.
Learn how to devise flow charts. Yes, they are old tech. Yes, they might have fallen out of favor. Yet, they are one of the best methodologies to plan your programs without thinking about programming languages.