Python Workout, Second Edition

you own this product
200 ten-minute exercises
  • December 2025
  • ISBN 9781633435353
  • 240 pages
  • printed in black & white
free previous edition eBook included
print book available Dec 24, 2025
ePub + liveBook available Dec 24, 2025

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


Look inside
Practice makes perfect Python!

The only way to master a skill is practice, practice, practice. That’s exactly what you’ll do in Python Workout, Second Edition! In this instantly-valuable book you’ll work through 200 carefully selected exercises that flex your programming muscles.

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

In Python Workout 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.

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.

Perfect for someone who has started learning Python.

Cheuk Ting Ho, JetBrains

Chock-full of good examples.

Jason C. McDonald Author of Dead Simple Python

Crucial for writing clean, efficient, and maintainable code in big tech.

Heng Zhang, Salesforce

So much better than just watching videos or reading reference material.

Jim Welch, Microsoft

The best way to truly understand and use Python correctly!

Marco Kreienbrink, NeustaSD
choose your plan

team

monthly
annual
$49.99
$399.99
only $33.33 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Python Workout, Second Edition ebook for free
choose your plan

team

monthly
annual
$49.99
$399.99
only $33.33 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Python Workout, Second Edition ebook for free