Many books and websites have aggressive programming challenges for top coders. However, Python Programming Exercises, Gently Explained 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.
Student Edition
Teachers, instructors, and professors can use the Student Edition PDF, which cuts the solutions in Appendix A.
- Title
- Python Programming Exercises, Gently Explained
- Publisher
- Independently published
- Author(s)
- Al Sweigart
- Published
- 2022-09-30
- Edition
- 1
- Format
- eBook (pdf, epub, mobi)
- Pages
- 160
- Language
- English
- ISBN-10
- B0BGNPC8H1
- ISBN-13
- 9798355387686
- License
- Read online for free
- Book Homepage
- Free eBook, Errata, Code, Solutions, etc.
Forward Introduction Exercise #1: Hello, World! Exercise #2: Temperature Conversion Exercise #3: Odd & Even Exercise #4: Area & Volume Exercise #5: Fizz Buzz Exercise #6: Ordinal Suffix Exercise #7: ASCII Table Exercise #8: Read Write File Exercise #9: Chess Square Color Exercise #10: Find and Replace Exercise #11: Hours, Minutes, Seconds Exercise #12: Smallest & Biggest Exercise #13: Sum & Product Exercise #14: Average Exercise #15: Median Exercise #16: Mode Exercise #17: Dice Roll Exercise #18: Buy 8 Get 1 Free Exercise #19: Password Generator Exercise #20: Leap Year Exercise #21: Validate Date Exercise #22: Rock, Paper, Scissors Exercise #23: 99 Bottles of Beer Exercise #24: Every 15 Minutes Exercise #25: Multiplication Table Exercise #26: Handshakes Exercise #27: Rectangle Drawing Exercise #28: Border Drawing Exercise #29: Pyramid Drawing Exercise #30: 3D Box Drawing Exercise #31: Convert Integers To Strings Exercise #32: Convert Strings To Integers Exercise #33: Comma-Formatted Numbers Exercise #34: Uppercase Letters Exercise #35: Title Case Exercise #36: Reverse String Exercise #37: Change Maker Exercise #38: Random Shuffle Exercise #39: Collatz Sequence Exercise #40: Merging Two Sorted Lists Exercise #41: ROT 13 Encryption Exercise #42: Bubble Sort Appendix A: Solutions