Python Workout, Second Edition
eBook - ePub

Python Workout, Second Edition

200 ten-minute exercises

  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

Python Workout, Second Edition

200 ten-minute exercises

About this 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?

Trusted by 375,005 students

Access to over 1 million titles for a fair monthly price.

Study more efficiently using our study tools.

Information

Publisher
Manning
Year
2026
eBook ISBN
9781638357674

Table of contents

  1. Praise for the First Edition
  2. Python Workout
  3. copyright
  4. contents
  5. dedication
  6. preface
  7. acknowledgments
  8. about this book
  9. about the author
  10. about the cover illustration
  11. 1 Improving your Python with practice
  12. 2 Numeric types
  13. 3 Strings
  14. 4 Lists and tuples
  15. 5 Dictionaries and sets
  16. 6 Files
  17. 7 Functions
  18. 8 Functional programming with comprehensions
  19. 9 Modules and packages
  20. 10 Objects
  21. 11 Iterators and generators
  22. 12 Where to from here?

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Python Workout, Second Edition by Reuven Lerner in PDF and/or ePUB format, as well as other popular books in Computer Science & Computer Science General. We have over one million books available in our catalogue for you to explore.