Python Brain Teasers: Exercise Your Mind
Language: English
Published by Pragmatic Bookshelf, 2021
- Softcover
- Used

Seller: Brit Books, Milton Keynes, United KingdomBrit Books
AbeBooks seller since September 11, 2009
Condition: Used - Good
US$ 19.14
Quantity: 1 available
Add to basketItem description from seller
***Simply Brit*** Welcome to our online used book store, where affordability meets great quality. Dive into a world of captivating reads without breaking the bank. We take pride in offering a wide selection of used books, from classics to hidden gems, ensuring there is something for every literary palate. All orders are shipped within 24 hours and our lightning fast-delivery within 48 hours coupled with our prompt customer service ensures a smooth journey from ordering to delivery. Discover the joy of reading with us, your trusted source for affordable books that do not compromise on quality.
Seller Inventory # 4342621
- Title
- Python Brain Teasers: Exercise Your Mind
- Author
- Tebeka, Miki
- Publisher
- Pragmatic Bookshelf
- Publication year
- 2021
- Condition
- Used; Good
- Binding
- Paperback
- Language
- English
- ISBN 10
- 1680509004
- ISBN 13
- 9781680509007
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.
Brit Books
Milton Keynes, United Kingdom
AbeBooks seller since September 11, 2009
Shipping rates from United Kingdom to U.S.A.
| Item | 7 to 10 business days | 7 to 10 business days |
|---|---|---|
| First item | US$ 21.38 | US$ 21.38 |
Payment methods
Specialty
Books, Hardback, Paperback, softbackSeller's business information
Brit Books Ltd
35 Burners Lane, Kiln Farm
Milton Keynes, United Kingdom MK11 3HA
Terms of sale
Brit Books endeavours to provide each and every customer with an excellent
shopping experience, backed by our customer satisfaction guarantee.
* Brit Books Ltd
* P. O. Box 7567 Milton Keynes MK11 9GE
* customercare@britbooks.co.uk, tel. 01908 262375
* Brit Books Ltd P. O. Box 7567 Milton Keynes MK11 9GE
* Company Reg. 06809965, Vat. GB972432513
* Company Rep: Celeste Milon
Shipping terms
Orders usually ship within 1 - 2 business days.