A Closer Look at Python's Print Function
Print is one of the first functions we encounter when learning Python, but it can do a lot more than say "Hello, world!". Learn about print's other options and master this common function!
Print is one of the first functions we encounter when learning Python, but it can do a lot more than say "Hello, world!". Learn about print's other options and master this common function!
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.
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!
This week we continue our look at the itertools module, this time covering the permutations and combinations functions.
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.