Python Brain Teasers (Exercise Your Mind)

ISBN: 9781680509007
List Price $18.95 Up to % OFF

FREE Ground Shipping in US

Expect Delivery in 4-10 weekdays

Brand New Books

Lock in your price today! Prices tomorrow are NOT GUARANTEED.
Total for copies: Save
$18.95
List Price
Your Price Per Book
Discount

Found a lower price on another site? Request a Price Match

Minimum Order: 25 copies per title

true
Select QTYQuantity:
Quantity
Price
Discount

Minimum Order $100 / 25 copies per title, no exceptions

Not ready to place your order?

Prices change daily. Order now!

Need A Quote?  Request a quote

$18.95
SKU:
9781680509007
Availability:
450
Minimum Purchase:
25 units
Bulk Pricing:
Buy in bulk and save

Minimum Order: 25 copies per title

true

Overview

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/.

While major retailers like Amazon may carry Python Brain Teasers (Exercise Your Mind), we specialize in bulk book sales and offer personalized service from our friendly, book-smart team based in Portland, Oregon. We’re proud to offer a Price Match Guarantee and a streamlined ordering experience from people who truly care.

We’re trusted by over 75,000 customers, many of whom return time and again. Want proof? Just check out our 25,000+ customer reviews—real feedback from people who love how we do business.

Prefer to talk to a real person? Our Book Specialists are here Monday–Friday, 8 a.m. to 5 p.m. PST and ready to help with your bulk order of Python Brain Teasers (Exercise Your Mind).

Product Details

Author:
Miki Tebeka
Format:
Paperback
Pages:
118
Publisher:
The Pragmatic Programmers (September 28, 2021)
Imprint:
Pragmatic Bookshelf
Language:
English
ISBN-13:
9781680509007
ISBN-10:
1680509004
Weight:
7.68oz
Dimensions:
7.5" x 9.25"
File:
TWO RIVERS-PERSEUS-Metadata_Only_Perseus_Distribution_Customer_Group_Metadata_20250312175956-20250312.xml
Folder:
TWO RIVERS
List Price:
$18.95
Country of Origin:
United States
Pub Discount:
35
Case Pack:
34
As low as:
$16.68
Publisher Identifier:
P-PER
Discount Code:
H

Ordering Details

  • Product Availability: Typically, all books are in stock and ready to ship. If a title becomes unavailable unexpectedly, you will be contacted with 24 business hours.
  • Standard Shipping: FREE Shipping via ground transportation within the continental United States.
  • Estimated Delivery: Most orders deliver within 4-10 business days from order date (excluding weekends and holidays). Orders shipping to Alaska or Hawaii should allow a minimum of 3 weeks for delivery.
  • Rush Shipping: Deliver in 5 business days from order date (excluding weekends and holidays).
  • Important Note: Books ship from various warehouses and may receive multiple cartons to fill the complete order. Do not assume your order is shipping from Portland, OR.
  • Payment Terms: Visa, MC, Amex, PayPal, Purchase Orders and P-Cards can be used to purchase online. Check and wire-transfer payments are available offline through Customer Service

Customer Reviews