Jump to ratings and reviews
Rate this book

Python Workout

Rate this book
The only way to master a skill is to practice. In Python Workout, author Reuven M. Lerner guides you through 50 carefully selected exercises that invite you to flex your programming muscles. As you take on each new challenge, you’ll build programming skill and confidence.

Summary
The only way to master a skill is to practice. In Python Workout, author Reuven M. Lerner guides you through 50 carefully selected exercises that invite you to flex your programming muscles. As you take on each new challenge, you’ll build programming skill and confidence. The thorough explanations help you lock in what you’ve learned and apply it to your own projects. Along the way, Python Workout provides over four hours of video instruction walking you through the solutions to each exercise and dozens of additional exercises for you to try on your own.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the technology
To become a champion Python programmer you need to work out, building mental muscle with your hands on the keyboard. Each carefully selected exercise in this unique book adds to your Python prowess—one important skill at a time.

About the book
Python Workout presents 50 exercises that focus on key Python 3 features. In it, expert Python coach Reuven Lerner guides you through a series of small projects, practicing the skills you need to tackle everyday tasks. You’ll appreciate the clear explanations of each technique, and you can watch Reuven solve each exercise in the accompanying videos.

What's inside

    50 hands-on exercises and solutions
    Coverage of all Python data types
    Dozens more bonus exercises for extra practice

About the reader
For readers with basic Python knowledge.

About the author
Reuven M. Lerner teaches Python and data science to companies around the world.

Table of Contents

1 Numeric types

2 Strings

3 Lists and tuples

4 Dictionaries and sets

5 Files

6 Functions

7 Functional programming with comprehensions

8 Modules and packages

9 Objects

10 Iterators and generators

248 pages, Paperback

Published August 4, 2020

20 people are currently reading
92 people want to read

About the author

Reuven M. Lerner

2 books1 follower

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 (37%)
4 stars
11 (37%)
3 stars
7 (24%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 - 5 of 5 reviews
142 reviews1 follower
April 5, 2023
A very good book. I'm kinda of new to Python, but not programming. It was good to learn how to be more Pythonic/more fluent. Most of the exercises are presented in such a way that it was very easy to do TDD. Each description had at least 1 test case in it, often several.

The exercises were good. 10 minutes/exercise is an interesting number. Some took much less, some much more. There are also 3 Beyond The Exercise challenges for each exercise. Those sometimes take as long as the exercises themselves. There's also a lot of references, so if you take the time to follow up on all those, it can take some time to get through the book.

I took an hour lunch break to work on it every work day and it took me ~ 3 months to get through it all. Maybe I'm slow, but I did take the time to read the references and do all the Beyond The Exercises.
Profile Image for Ravi Sinha.
317 reviews11 followers
September 22, 2022
My word did I get a workout from this book. I got my hands dirty and picked up a trick or two along the way. Very comprehensive. Covers a lot of (pretty much all the) ground. The workouts are simple but the 'beyond the workout', the informational blurbs, and the links all come together pretty admirably.
3 reviews
October 14, 2023
Excellent book for learning how to write Python in an idiomatic way if you’re already a competent programmer in other languages. The explanations of how various features work under the hood were very helpful in aiding understanding of the language.
600 reviews11 followers
April 7, 2020
A nice collection of exercises to learn Python. Not yet finished, but what is there is well prepared.
Profile Image for FC Katoch.
1 review
September 12, 2025
Book on Python Workout

Excellent book to learn python. Some of the topics are related to advanced python. A must read book for python lovers!
Displaying 1 - 5 of 5 reviews

Can't find what you're looking for?

Get help and learn more about the design.