Learn Python Programming
Destructuring in Python
In this post we take a look at destructuring, also called "unpacking". We can use it to split a collection into single values, e.g. for multiple assignment.
Learn Python Programming
In this post we take a look at destructuring, also called "unpacking". We can use it to split a collection into single values, e.g. for multiple assignment.
Python Snippets
This week we take a look at some of Python's hidden Easter eggs, including perhaps the most important module in all of Python: antigravity.
Coding Interview Problems
In this post we tackle another common coding interview problem: rotating a list. Avoid common pitfalls and impress at your next coding interview.
Python Snippets
Deques are a very handy collection type from the built-in "collections" module. They extend the functionality of lists and give us a couple more useful methods. Learn about them in this post!
Python Snippets
This week we continue our look at the itertools module, this time covering the permutations and combinations functions.
Coding Interview Problems
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 Snippets
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 Snippets
In this Python snippet post we cover a lesser known set method: symmetric_difference.
Learn Python Programming
Testing is an essential part of software development. Start writing simple and effective tests with this blog post. It's easier than you think!
Python Snippets
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.
Coding Interview Problems
In this post we provide a walk through for a common interview problem: FizzBuzz. Avoid some common mistakes and breeze through this problem in your next coding interview.
Python Snippets
Learn how to use Python's list comprehension syntax: an awesome, Pythonic tool for creating new lists from existing iterables.