Get a free eBook (PDF or ePub) from Manning as well as access to the online liveBook format (and its AI assistant that will answer your questions in any language) when you purchase the print book.
The only way to master a skill is practice, practice, practice. That’s exactly what you’ll do in this book! In this instantly-valuable book you’ll work through 200 carefully selected exercises that flex your programming muscles.
You’ll practice core Python language features and techniques that reinforce the programming patterns you’ll use every day and build the skills you need to troubleshoot your programs.
In Python Workout, Second Edition you’ll find 200 exercises, including:
• Working with text using strings
• Mastering dictionaries and sets
• Reading, writing, and manipulating files
• Functional programming with comprehensions
• Python modules and packages
• Creating iterators and generators
About the technology
Become 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 book
Python Workout, Second Edition is a hands-on training program designed to boost your productivity and code quality. You’ll 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 inside
• Lock in essential Python skills
• Improve your code readability and maintainability
• Prepare for AI-assisted workflows
About the reader
For beginning to intermediate Python programmers.
About the author
Reuven M. Lerner teaches Python at companies around the world and at LernerPython.com. He also wrote Pandas Workout.
Table of Contents
1 Improving your Python with practice
2 Numeric types
3 Strings
4 Lists and tuples
5 Dictionaries and sets
6 Files
7 Functions
8 Functional programming with comprehensions
9 Modules and packages
10 Objects
11 Iterators and generators
12 Where to from here?
"synopsis" may belong to another edition of this title.
Reuven M. Lerner teaches Python and data science to companies around the world. He is also the author of Manning’s Python Workout (2020).
"About this title" may belong to another edition of this title.
Seller: Books From California, Simi Valley, CA, U.S.A.
paperback. Condition: Very Good. Seller Inventory # mon0004117264
Seller: GreatBookPrices, Columbia, MD, U.S.A.
Condition: As New. Unread book in perfect condition. Seller Inventory # 52120926
Seller: GreatBookPrices, Columbia, MD, U.S.A.
Condition: New. Seller Inventory # 52120926-n
Seller: BargainBookStores, Grand Rapids, MI, U.S.A.
Paperback or Softback. Condition: New. Python Workout, Second Edition: 200 Ten-Minute Exercises. Book. Seller Inventory # BBS-9781633435353
Seller: PBShop.store UK, Fairford, GLOS, United Kingdom
HRD. Condition: New. New Book. Shipped from UK. Established seller since 2000. Seller Inventory # PB-9781633435353
Quantity: 15 available
Seller: California Books, Miami, FL, U.S.A.
Condition: New. Seller Inventory # I-9781633435353
Seller: Rarewaves USA, OSWEGO, IL, U.S.A.
Hardback. Condition: New. 2nd. You know Python's syntax, but when it comes to real projects you freeze or second-guess yourself. You are not alone. Many learners struggle to turn knowledge into action, even after completing tutorials or coursework. What if you could practice daily with focused challenges that build confidence, fluency, and muscle memory for writing clean, efficient, and professional Python code? 50 focused exercises: build muscle memory for core and advanced language features. Built-in data structures: write shorter, faster code with lists, tuples, dictionaries, and sets. Functional techniques: unlock map, filter, and comprehensions for elegant data pipelines. Object-oriented drills: design, create, and extend classes that stay maintainable. Iterators and generators: process large data streams while saving memory and time. Full solutions and explanations: verify your approach and learn professional idioms. Python Workout by veteran instructor Reuven M. Lerner offers a practical, workbook-style route to skill mastery. Each self-contained challenge targets a specific concept, then walks you through a clear, annotated solution. The progressive sequence mirrors real coding tasks so readers advance naturally from fundamentals to powerful patterns. Finish the book able to read, refactor, and write Python that stands up in production code reviews. The habits you form here stick because you learn by doing, not by memorizing. Ideal for developers who know basic syntax and need fluency for work, study, or personal projects. Seller Inventory # LU-9781633435353
Seller: Grand Eagle Retail, Bensenville, IL, U.S.A.
Hardcover. Condition: new. Hardcover. You know Pythons syntax, but when it comes to real projects you freeze or second-guess yourself. You are not alone. Many learners struggle to turn knowledge into action, even after completing tutorials or coursework. What if you could practice daily with focused challenges that build confidence, fluency, and muscle memory for writing clean, efficient, and professional Python code? 50 focused exercises: build muscle memory for core and advanced language features. Built-in data structures: write shorter, faster code with lists, tuples, dictionaries, and sets. Functional techniques: unlock map, filter, and comprehensions for elegant data pipelines. Object-oriented drills: design, create, and extend classes that stay maintainable. Iterators and generators: process large data streams while saving memory and time. Full solutions and explanations: verify your approach and learn professional idioms. Python Workout by veteran instructor Reuven M. Lerner offers a practical, workbook-style route to skill mastery. Each self-contained challenge targets a specific concept, then walks you through a clear, annotated solution. The progressive sequence mirrors real coding tasks so readers advance naturally from fundamentals to powerful patterns. Finish the book able to read, refactor, and write Python that stands up in production code reviews. The habits you form here stick because you learn by doing, not by memorizing. Ideal for developers who know basic syntax and need fluency for work, study, or personal projects. Python is a versatile, elegant, general purpose programming language. Essential for data analysis, web development, artificial intelligence, games, desktop apps, and more, Python skills are a hot commodity. Shipping may be from multiple locations in the US or from the UK, depending on stock availability. Seller Inventory # 9781633435353
Seller: Rarewaves.com USA, London, LONDO, United Kingdom
Hardback. Condition: New. 2nd. You know Python's syntax, but when it comes to real projects you freeze or second-guess yourself. You are not alone. Many learners struggle to turn knowledge into action, even after completing tutorials or coursework. What if you could practice daily with focused challenges that build confidence, fluency, and muscle memory for writing clean, efficient, and professional Python code? 50 focused exercises: build muscle memory for core and advanced language features. Built-in data structures: write shorter, faster code with lists, tuples, dictionaries, and sets. Functional techniques: unlock map, filter, and comprehensions for elegant data pipelines. Object-oriented drills: design, create, and extend classes that stay maintainable. Iterators and generators: process large data streams while saving memory and time. Full solutions and explanations: verify your approach and learn professional idioms. Python Workout by veteran instructor Reuven M. Lerner offers a practical, workbook-style route to skill mastery. Each self-contained challenge targets a specific concept, then walks you through a clear, annotated solution. The progressive sequence mirrors real coding tasks so readers advance naturally from fundamentals to powerful patterns. Finish the book able to read, refactor, and write Python that stands up in production code reviews. The habits you form here stick because you learn by doing, not by memorizing. Ideal for developers who know basic syntax and need fluency for work, study, or personal projects. Seller Inventory # LU-9781633435353
Quantity: 3 available
Seller: GreatBookPricesUK, Woodford Green, United Kingdom
Condition: New. Seller Inventory # 52120926-n
Quantity: Over 20 available