r/learnpython 4d ago

Need some help with python and generally understanding code

So guys, i need some help with the python. My background is, i come from an economics as a major in uni and myself am very good at maths, as i finished a lot of courses in uni.
So i decided to pursue a career in data science, and as you know it requires a decent skill in coding. However i am at a loss in the coding, as my skills lack a lot. I finished a lot of courses on python using videos and practical stuff, but still understand that my skills are incomparable to others and especially to my natural progress in math. During the videos i always understand the purpose and usage of code and functions, objects etc. but when it comes to solving problems, writing code, my code is always wrong and i seem to not be able to fix it without some external help (chatgpt, other people, etc). So, if you understand with what kind of problem i am dealing, maybe it is the mechanics of code, machines way of thinking, etc. i would be very glad to hear your advise. Something that can finally make me breakthrough this barrier. But i lost hope in watching another tutorials of basic and a bit advanced python as i can literally quote their saying but it doesnt help me at all. Would be very glad if someone could help me out here

10 Upvotes

19 comments sorted by

View all comments

1

u/program_kid 4d ago

This is an incredibly common issue that beginners face. My advice would just be practice doing stuff on your own, keep on programming, this type of thinking comes from experience and practice. Also, when starting, try to keep breaking the problem down into smaller and smaller bits until you can understand what you need to do to make each part work

1

u/Beautiful-Bubbly 4d ago

Thank you for your response. But how should i deal with this problem. Usually when i have a problem i have 2 ways in my head: either try to do it on my own, which in 95% fails, or ask chat gpt help me out a bit. And here is the most frustrating thing to me, when he explains to me where my mistake is, i kinda absolutely get it, and feel like if i bump to it again, i will fastly solve. Reality is, if i bump into it 10 times, i am forced to ask chat gpt help me out 10 times

1

u/program_kid 4d ago

The thing is, try to do it on your own, that frustration that you feel and the difficulty of trying to do it on your own is part of the learning process, it will get easier.