Today, I could not really focus. My mind was constantly wandering back to my current book writing project (“Python One-Liners”, NoStarchPress, 2020).
So I thought why not share a sample chapter today instead of creating new puzzles or content?
Here’s a sample chapter about the best and most important Python one-liner tricks. Feel free to download the PDF by clicking the following link:
[PDF Book Chapter] Python One-Liners, Chapter 2, Python Tricks
Get the book on Amazon:

You can also watch my supporting “Python One-Liners” video series. Here’s the first video that shows you the list comprehension one-liner to create Python lists:
You can find the remaining videos here.

While working as a researcher in distributed systems, Dr. Christian Mayer found his love for teaching computer science students.
To help students reach higher levels of Python success, he founded the programming education website Finxter.com that has taught exponential skills to millions of coders worldwide. He’s the author of the best-selling programming books Python One-Liners (NoStarch 2020), The Art of Clean Code (NoStarch 2022), and The Book of Dash (NoStarch 2022). Chris also coauthored the Coffee Break Python series of self-published books. He’s a computer science enthusiast, freelancer, and owner of one of the top 10 largest Python blogs worldwide.
His passions are writing, reading, and coding. But his greatest passion is to serve aspiring coders through Finxter and help them to boost their skills. You can join his free email academy here.