Jump to ratings and reviews
Rate this book

Python Programming Exercises, Gently Explained

Rate this book
Many books and websites have aggressive programming challenges for top coders. However, this book is for the rest of us. We want challenges that improve our coding skills, not leave us confused and discouraged. Other tutorials and books have taught you the basics of Python, but the 42 programming exercises in this book let you practice what you've learned. Selected for their simplicity, these programming problems include gentle explanations of the problem, the prerequisite coding concepts you’ll need to understand the solution, and helpful templates to put together the programs if you have trouble starting from scratch.

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

• 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

160 pages, Paperback

Published September 30, 2022

235 people are currently reading
60 people want to read

About the author

Al Sweigart

37 books285 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
11 (52%)
4 stars
7 (33%)
3 stars
3 (14%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 - 2 of 2 reviews
Profile Image for Takenbythebard.
49 reviews1 follower
November 8, 2023
Took a long time to finish this, but happy I finally did. Some great simple exercises. Learned a lot.
Profile Image for Quynh.
54 reviews4 followers
Read
February 27, 2024
If you’re a brand newbie in programming and Python is your first language, this book is a good start. The guidance and instruction for each function, concept, or logic will be used to solve each problem is straightforward and easy to understand. This book also focuses on writing unit tests before writing your code is a good aspect since test-driven development is crucial.

However for those with prior programming experience, the content might seem elementary. However, it’s still a good refresh on Python basics for me with fun exercises. I love the book cover by the way :)
Displaying 1 - 2 of 2 reviews

Can't find what you're looking for?

Get help and learn more about the design.