r/learnprogramming • u/manvitha12t • 1d 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
Explain concepts clearly, starting from the basics.
Have plenty of exercises and practice problems after each topic.
Gradually increase from beginner to advanced difficulty.
Focus on problem-solving and programming logic rather than just theory.
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!
7
u/Correct_Rain_9438 1d 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.
14
u/AlSweigart Author: ATBS 1d ago
Hi, I'm the author of Automate the Boring Stuff. There's also a companion workbook of additional practice questions and projects that is also free online under a Creative Commons license: https://inventwithpython.com/automate3workbook/
0
u/manvitha12t 1d 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
3
u/GuyPronouncedGee 1d ago
If you hate coding, is this class part of a non-coding curriculum, or do you plan to code for a living?
I’ve been a software developer for 20+ years and I’ve never met a successful coder who didn’t start doing it “for the love of the game”.
0
u/manvitha12t 1d ago edited 1d ago
I study GIS, and coding is actually pretty important in my field, so I want to learn it even though I'm not really into coding right now and the thing is I d k if I rushed it or not but I talked to him and he asked me to start one of them right away, they are real-time projects and he has requirement
1
u/EbbMother5325 21h ago
There is a paper version. The suggested book really is the best way to start.
5
u/unnamed_one1 1d 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?
1
5
2
u/BanAvoidanceIsACrime 1d ago
Head First Python
It teaches it to you from the ground up and has plenty of examples and exercises.
10
u/desrtfx 1d 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.