Customers who viewed this item also viewed
These promotions will be applied to this item:
Some promotions may be combined; others are not eligible to be combined with other offers. For details, please see the Terms & Conditions associated with these promotions.
Your Memberships & Subscriptions
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the author
OK
Python Programming Exercises, Gently Explained Kindle Edition
This is the perfect book for beginner and intermediate programmers who want to test their Python skills but aren’t ready to begin professional-level software development. You don’t need the frustration of being expected to create complex algorithms and computer science theory; you need a large set of programming challenges that meet you at your level, with gentle explanations.
The coding exercises in this book include:
• Temperature conversion
• Fizz buzz
• Reading and writing files
• Find and replace text
• Calculating average, median, and mode
• Random dice rolling
• Password generation
• Date validation
• Rock, paper, scissors
• ASCII art
• Collatz sequence
• Bubble sort
- LanguageEnglish
- Publication dateSeptember 29, 2022
- File size2.5 MB
Products related to this item
Customers also bought or read
- Learn Python 3.0 VISUALLY: with 99 Interactive Exercises and Quizzes (Learn Visually)
Kindle Edition$7.95$7.95 - Python For Beginners: A Practical and Step-by-Step Guide to Programming with Python
Kindle Edition$0.00$0.00 - Hands-On Python BEGINNER: with 162 Exercises, 3 Projects, 3 Assignments & Final Exam
Kindle Edition$4.99$4.99
Product details
- ASIN : B0BGYJ7G6T
- Accessibility : Learn more
- Publication date : September 29, 2022
- Language : English
- File size : 2.5 MB
- Screen Reader : Supported
- Enhanced typesetting : Enabled
- X-Ray : Not Enabled
- Word Wise : Not Enabled
- Print length : 238 pages
- Page Flip : Enabled
- Best Sellers Rank: #49,940 in Kindle Store (See Top 100 in Kindle Store)
- #4 in Python Computer Programming
- #24 in Python Programming
- #50 in Computer Science (Kindle Store)
- Customer Reviews:
About the author

Al Sweigart is a software developer and tech book author living in Houston. He has written several programming books for beginners, including Automate the Boring Stuff with Python. His books are freely available under a Creative Commons license at his website https://inventwithpython.com.
Products related to this item
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonTop reviews from the United States
- 5 out of 5 stars
Excellent
Reviewed in the United States on August 23, 2025Great book, it was challenging for me. I loved it, I didn’t want to do anything else until I finished it.
It made me change my way of thinking and helped me to understand all the processed involved behind the scenes, when I use a python function.
Also made me think that everything I do in python can be done manually, but more important is that somebody else a developer, at sometime realized something was missing in python, and found it was possible to create a global function in python to make repetitive tasks easier for all the other users of python and contributed to the project.
Great book and great teacher, easy to understand instructions.
Sending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
Al Does it Again!
Reviewed in the United States on October 9, 2022I've often recommended Automate the Boring Stuff with Python. Too often, Python learning resources become bogged down with the details and abstractions of a programming language, increasing the risk that the student will give up before understanding (and getting a sense of enjoyment from) how the knowledge can be applied in the real world. Al has done it again. Python Programming Exercises is an awesome little collection of fun exercises that will teach you practical ways of using the language, without overwhelming. And at this price, it's a no brainer.
13 people found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again - 4 out of 5 stars
This is fun!
Reviewed in the United States on October 17, 2022For just a buck, this was an easy insta-buy for me. I'm no stranger to Python, but this book is fun 'cos I can whack together a solution to the problem presented, see that it works, and then compare my solution to what Al presents. It's interesting to see the different approaches we take to some of these, and it's encouraging to see that, yes, I kinda know what I'm doing (most of the time). For just one dollar, it's a great value - having fun for just a buck? Can't go wrong with this one!
10 people found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
Great Book!
Reviewed in the United States on July 7, 2024This book is great for practicing Python. It’s exactly as advertised. It provides a problem and then provides additional context and hints on how to approach the problem if it’s needed. The book does not teach Python but recommends references that go along with each problem.
2 people found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
Great for practice and teaching the Basics
Reviewed in the United States on October 17, 2022I bought this book as I'm currently trying to learn, relearn a few programming languages, and translate some of my knowledge from Stata/Mata programming to other software, including Python, Lua, Julia, among others.
This small book brings a set of exercises that could be great for most first-time programmers/learners. It covers most of the basics, and I can see using this in a classroom not only for Python, but other languages as well. (sometimes finding engaging exercises is hard).
Do not expect to be challenged, or become an expert in python. However, if you have some time to spare, and want to get a hold of the basics, this is definitely recommended (Especially for the Price).
9 people found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
Great next step for Automate the boring stuff with Python.
Reviewed in the United States on September 16, 2023The book is helping me identify the areas where I need more practice. The description for each exercise has been clear and includes hints to help complete them before we need to check the solution when stuck.
Happy with it.
2 people found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
so handy for learning python, especially as a beginner!
Reviewed in the United States on October 24, 2022Really excited to be able to use this resource for practicing my python skills and improving! Al's a great author and teacher; I loved his Automate the Boring Stuff book, and somehow, with help from his cat, he's made learning Python something I don't dread anymore.
3 people found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again - 4 out of 5 stars
Lessons, practice, learning
Reviewed in the United States on January 26, 2024Basically it's for those who, want to and probably don't know how too, or haven't started a program, even a simple one, we all need the experience and practical to start somewhere, this could help you to start.
Sending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again
Top reviews from other countries
Jamin Kauf5 out of 5 starsAnwendendes Lernen bleibt unersetzbar
Reviewed in Germany on October 15, 2022Der beste Weg, etwas zu lernen, ist die angeleitete Praxis.
In klassischer Sweigart-Manier wird man hier als Leser*in vor Probleme gestellt, die es zu lösen gilt. Für jede Aufgabe gibt es mehrere Stufen von Hinweisen - angefangen bei kleinen Tipps bis zur ganzen Lösung.
Persönlich sagt mir auch die (geringe) Menge an Humor in Sweigarts Büchern zu, das ist allerdings subjektive Präferenz.
Sending feedback...Thanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again
SeekingGood5 out of 5 starsVery good!
Reviewed in Canada on December 13, 2024Very good!
Sending feedback...Thanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again
CHARLES L L DUARTE5 out of 5 starsConteúdo prático de valor.
Reviewed in Brazil on January 2, 2024O autor é famoso e possui livros de referência em Python. Este tem o foco em exercícios muito bem detalhados.
Sending feedback...Thanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again
G P5 out of 5 starsAmazing book
Reviewed in the United Kingdom on October 19, 2023This really is an amazing book for someone wanting to do hands-on python project. Highly recommended.
Sending feedback...Thanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again
Cliente Amazon5 out of 5 starsPhyton
Reviewed in Mexico on March 30, 2025Es muy claro
Y fácil de seguir
Sending feedback...Thanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again


































![Computer Networking Bible: [3 in 1] The Complete Crash Course to Effectively Design, Implement and Manage Networks. Including Sections on Security, Performance and Scalability](/web/20210226063146if_/https://code.visualstudio.com/assets/github-https-m.media-amazon.com/images/I/41H4YJnxKgL._AC_SR100,100_QL65_.jpg)
