r/learnpython • • Jun 14 '24

How to learn python

Are there any ways a social sciences and humanities undergraduate student can pick up python more easily? I tried Linkedin videos, Kaggle, Harvard's CS50 python but it is still difficult and I often have problems solving the code challenges without looking at the solutions. Do anyone have any recommendations on any resources to learn python more easily? Please help.

0 Upvotes

12 comments sorted by

View all comments

1

u/tutoredstatue95 Jun 14 '24

Don't worry too much about having to look at solutions when you are first learning. Always give it your best shot without looking first, of course, but when you hit a wall and can't figure it out, then it's completely fine to see what you were missing.

Programming is a learned skill, and "you don't know what you don't know" is a defining concept. You need to build up the concepts that you do know before you should expect to come up with optimal solutions on your own. However, make sure you understand the solutions and why they are the solution before moving on for each and every problem.

Once you reach a point where you can look at a problem and think "I can solve this if I try hard enough", then you can fault yourself for needing to check.

As others have said, it just takes time and practice. Sure, some people have the background to understand concepts faster, but I promise most people have just pushed through until some core concepts finally click.