The Teclado Blog

Python Itertools Part 2 - Combinations & Permutations

This week we continue our look at the itertools module, this time covering the permutations and combinations functions.

Coding Interview: Find the Longest Word

In this post we tackle another common coding interview problem: finding the longest word in a paragraph. Avoid some common pitfalls and ace your interview.

Python Itertools Part 1 - Product

The itertools module contains a bunch of handy functions. Here we take a look at product, which can serve as a replacement for complex comprehensions.

Python's symmetric_difference Method for Sets

In this Python snippet post we cover a lesser known set method: symmetric_difference.

Python Comprehensions with Conditionals

In this snippet post we show you how to add conditional clauses to your list comprehensions. Once you know how to use it, this kind of filtering is very powerful.

The Teclado Blog © 2026