Python Brain Teasers: Exercise Your Mind (Paperback or Softback)
Language: English
Published by Pragmatic Bookshelf 9/14/2021, 2021
- Softcover
- New

Seller: BargainBookStores, Grand Rapids, MI, U.S.A.BargainBookStores
AbeBooks seller since January 23, 2002
Condition: New
US$ 24.27
Quantity: 5 available
Add to basketItem description from seller
Python Brain Teasers: Exercise Your Mind.
Seller Inventory # BBS-9781680509007
- Title
- Python Brain Teasers: Exercise Your Mind (Paperback or Softback)
- Author
- Tebeka, Miki
- Publisher
- Pragmatic Bookshelf 9/14/2021
- Publication year
- 2021
- Condition
- New
- Book Type
- Book
- Binding
- Paperback or Softback
- Language
- English
- ISBN 10
- 1680509004
- ISBN 13
- 9781680509007
- Item weight
- 0.48 pounds
We geeks love puzzles and solving them. The Python programming language is a simple one, but like all other languages it has quirks. This book uses those quirks as teaching opportunities via 30 simple Python programs that challenge your understanding of Python. The teasers will help you avoid mistakes, see gaps in your knowledge, and become better at what you do. Use these teasers to impress your co-workers or just to pass the time in those boring meetings. Teasers are fun!
At the beginning of each chapter I'll show you a short Python program and will ask you to guess the output. The possible answers can be:
- Syntax error
- Exception
- Hang
- Some output (e.g. `[1 2 3]`)
Here's how to approach the puzzles. Read through the code. Before moving on to the answer and the explanation, go ahead and guess the output. After guessing the output, run the code and see the output yourself. Finally proceed to read the solution and the explanation. The puzzles are short enough to solve on a coffee break, so carry them with you, have fun, and share them with co-workers.
People who make mistakes during the learning process learn better than people who don't. If you use this approach at work when fixing bugs, you'll find you enjoy bug hunting more and become a better developer after each bug you fix.
Many of these puzzles are from the author's lessons learned (and others) of shipping bugs to production. He often uses the puzzles as quizzes during conferences and meetups, and they tend to create a buzz of excitement.
What You Need:
- You need to know Python at some level and have experience programming with it.
- NOTE: The book uses Python version 3.8.2 to run the code; the output _could_ change in future versions.
- You will need a working Python environment, you can download it from "python.org":https://www.python.org/downloads/.
- You will probably want a good IDE for python, two of the most popular ones are "Visual Studio Code":https://code.visualstudio.com/ and "PyCharm":https://www.jetbrains.com/pycharm/.
"Synopsis" may belong to another edition of this title.
About the Author
"About the title" may belong to another edition of this title.
BargainBookStores
Grand Rapids, MI, U.S.A.
AbeBooks seller since January 23, 2002
Shipping rates within U.S.A.
| Item | 4 to 10 business days | 4 to 9 business days |
|---|---|---|
| First item | US$ 0.00 | US$ 39.50 |
Payment methods
Store description
Save up to 90% on your favorite items at BargainBookStores.com! Our 20,000 square foot warehouse in Grand Rapids, Michigan is filled with hundreds of thousands of books and consumer goods, all at the lowest prices! We've been serving internet customers with great deals since 2001. All books ship from Grand Rapids, Michigan. 100% Customer Satisfaction Guaranteed We want to ensure your satisfaction. If you are dissatisfied with your purchase or shopping experience, we would like to hear from you. Please contact us by email: cs@bargainbookstores.com. Please be sure to include your contact information and order number. We do not charge a restocking fee for returns. Your Privacy BargainBookStores.com does not provide, sell or market customer information to other businesses or organizations.…
Specialty
Out of Print Books, Specializing in Academic and Professional Books, Bargain Books - Save Up to 90% Off Publisher's List Price!, Remainder Books, Store-Wide Range of New Books in all CategoriesSeller's business information
BargainBookStores
3423 Lousma Dr SE
Grand Rapids, MI U.S.A. 49548
Terms of sale
BargainBookStores guarantees 100% Customer Satisfaction. We ship worldwide and offer a variety of shipping methods to meet your needs. Please place your order directly via ABEBooks.com. We accept payment by MasterCard and Visa. For more information, contact us by email at cs@bargainbookstores.com. Full contact info is below:
BargainBookStores.com LLC
3423 Lousma Dr SE
Grand Rapids, MI 49548
Shipping terms
We will ship to all domestic and most international destinations.
Please note: Shipping times are estimated and are not guaranteed by BargainBookStores.