The only way to master a skill is practice, practice, practice. Thats exactly what youll do in this book! In this instantly-valuable book youll work through 200 carefully selected exercises that flex your programming muscles.Youll practice core Python language features and techniques that reinforce the programming patterns youll use every day and build the skills you need to troubleshoot your programs.In Python Workout, Second Edition youll find 200 exercises, including:Working with text using stringsMastering dictionaries and setsReading, writing, and manipulating filesFunctional programming with comprehensionsPython modules and packagesCreating iterators and generatorsAbout the technologyBecome a champion Python programmer by making its most powerful features second nature! In this unique book, internationally-recognized Python trainer Reuven Lerner builds your mental muscle by guiding you through 200 targeted exercises.About the bookPython Workout, Second Edition is a hands-on training program designed to boost your productivity and code quality. Youll practice everything from basics like strings and dictionaries to techniques for writing elegant, data-agnostic code with dynamic typing, generic functions, and comprehensions. Each exercise includes a detailed solution along with additional challenges that help you push your skills even farther.What's insideLock in essential Python skillsImprove your code readability and maintainabilityPrepare for AI-assisted workflowsAbout the readerFor beginning to intermediate Python programmers.About the authorReuven M. Lerner teaches Python at companies around the world and at LernerPython.com. He also wrote Pandas Workout.Table of Contents1 Improving your Python with practice2 Numeric types3 Strings4 Lists and tuples5 Dictionaries and sets6 Files7 Functions8 Functional programming with comprehensions9 Modules and packages10 Objects11 Iterators and generators12 Where to from here?