r/learnprogramming • • 18m ago

Best books to learn Python from scratch with lots of exercises and practice problems?

Hi everyone!

I want to learn Python programming from scratch and become really good at it.

I'm looking for book recommendations that

  1. Explain concepts clearly, starting from the basics.
  2. Have plenty of exercises and practice problems after each topic.
  3. Gradually increase from beginner to advanced difficulty.
  4. Focus on problem-solving and programming logic rather than just theory.
  5. Include practical projects to help apply what I've learned.

I don't mind working through lengthy books. My main goal is to practise extensively until I can write programs independently without relying on tutorials.

Which books would you recommend? Also, are there any websites or platforms with excellent Python practice problems?

I'd appreciate recommendations from people who have learned Python this way. Thank you!

2 Upvotes

8 comments sorted by

•

u/Dazzling_Music_2411 17m ago

Learn Python the Hard Way

•

u/manvitha12t 14m ago

Thankss!! I'll check it out

•

u/desrtfx 15m ago

Not book, proper University course: https://programming-26.mooc.fi from the University of Helsinki

You can always add https://codingbat.com/python for more beginner, short exercises and later https://exercism.org for larger ones. Also, look at https://inventwithpython.com for plenty books with projects and more.

•

u/manvitha12t 13m ago

I'll go through it!

•

u/Correct_Rain_9438 11m ago

Automate the Boring Stuff with Python is free to read online and starts from the basics. It has practice questions with answers in an appendix, then projects that automate real tasks, which fits wanting a lot of practice.

•

u/manvitha12t 7m ago

I love to learn from reading books rather than digitally, projects are something which I have in mind and 2 of them are approved by my uni proff but the problem is I hate coding so I wanna start learning slowly

•

u/unnamed_one1 14m ago

Check the wiki of r/learnpython (it's in the sidebar to the right on desktop browser), there's lots of recommendations.

edit: downvote? really?

•

u/manvitha12t 12m ago

🧐🧐🧐did I?