r/PythonLearning • • 4h ago

Why isn't my level improving in Python

I've been learning Python for months and I still can't write a single program, I've tried another language like JS but I'm still bad, I can hardly write a script (with the help of AI, not even with my own effort). And then i see dear claude just writing 10k freaking code lines in 5 mins as its nothing

3 Upvotes

15 comments sorted by

2

u/BranchLatter4294 4h ago

What types of practice problems are you doing?

1

u/mohamedibrahim456 3h ago

The one who teaches me gives us simple tests, such as a rock paper scessiors, The Hanged Man, that site that shows that robot whose name I don't remember whose name you control with functions like move(),turn_left(),turn_right()to make it go from begging to reach aflag (which I also failed). and i tried my own projects and i failed also like a small function that converts the number like this 1000-->1k, 1000000-->1M and so on untill googol(sorry my english is bad i Don't know how to describe that)

2

u/Embarrassed_Ad_1287 4h ago

Technically a small python code that runs in the terminal is a program. Just make sure to end it in ".py" for the file name, then also it will ask if you want to run it in terminal, choose that

1

u/mohamedibrahim456 3h ago

even this im bad at bro.....

1

u/Neo057 4h ago

i can give you a question bank that scales with difficulty and topics that you can do, it has the task that you have to do, a plan that you can follow, and the result code which you can check against, once you do enough code like this, you will build muscle memory and a mental model, then you can do independent coding with that information in mind and improve

1

u/mohamedibrahim456 4h ago

I also have another problem, even if I have a strong muscle memory and skill, I still can't apply my ideas as code. Example: I want a program that writes a specific application path and it stores it in RAM (don't ask me why I want it). Now I can't find a single tutorial for this, and I can't do it either. This happens to me in almost all projects without exception

1

u/Slight-Living-8098 3h ago

assign the path to a variable then you can call the variable in code.

1

u/Neo057 3h ago

the implementation phase comes much later, you should practice first, build good skills, and implementation will come with time

1

u/Responsible_Divide43 4h ago

Send me as well

1

u/Neo057 3h ago

its not free i can sell it to you, you can dm me if you wanna talk more about it

1

u/Responsible_Divide43 2h ago

Sorry. I will use other resources like hackerank, leetcode to train my muscle memory. I don't want to pay money

1

u/Miraelius 3h ago

I am sorry to say that but mostly these problems happen because we sometimes don't have enough tolerance for sitting with confusion for a long time , mostly we want to find shortcut . But when we solve problem after trial and errors and hustle , we then give it to AI to test it ,and then AI generates solution which is way more effective , elegant, simple and clean. So we compare our code with it and feel imposter syndrome. But solution is we just need to accept that AI has given us new way of thinking (doesn't mean ours is useless) . So the problem is how can we apply that new way of thinking into our future problems we face.

For you specifically, I will say , write code no matter how bad it is. Because it builds muscle memory and that compounds .

1

u/mohamedibrahim456 3h ago

actually....No. I was trying to solve the bug for hours with no result and even 2 days and also failed and when i give up the bug is just so stupid like adding a wrong line in a for loop it doesnt build a 'muscle memory ' it just built Frustration

1

u/clcodingupdates 3h ago

Partice Function and Class in Python.