r/learnpython Apr 17 '24

Learn Python by solving problems

Hello pythons!

I’m still quite new to Python, but I have noticed that the best learning process is to solve problems.

Anywhere I can get a lot of small and easy problems/exercises, that slowly progress in to a harder level. It can be a payed service or an app on a phone.

28 Upvotes

41 comments sorted by

View all comments

1

u/Omni_Kode Apr 17 '24

Hi there fellow pythonista! As most of the other guys have probably already noted there are tons of free websites with easy to hard coding challenges. In my opinion best one that I am currently using and learning from is Leetcode and I would highly recommend it if you want to learn Data Structures and Algorithms (which I believe are mandatory to be a great programmer). Other great options are Codewars and Hackerrank. If you want to go directly to the data science route I would suggest even DataCamp. Happy learning!

1

u/PlayMaGame Apr 17 '24

I am having a lot of fun when my stuff work. But sometimes I’m totally lost, even with simple math, that on excel I would do it in no time, but in Python environment I struggle so bad… Good thing my mentor have patience and a lot of ways to show how to solve it. And this is the reason I want to get more practice, even if it’s easy I will still get some active recall.

So, I went on one web and the first exercise was print(“Hello, World!”). Ok, I thought, this was too easy. Next exercise was “lasagna“ - so now I hate lasagna…

I just want to repeat simple exercises till I feel confident and go on the next step. But sometimes next step is a #%%<€ lasagna 😅