One of the cool features of Python is the concept of positional and keyword arguments. In this article, we will explore these two types of arguments and then discuss the right place to use each one....
Hidden gems are those small features that help making coding in Python easier and more fun. We are not talking about the big features that make the headlines, but rather small things that we can use day to day to solve small problems....
We solve the Blackjack Kata, once again using monads but leveraging Python's Object Oriented data model. Python, being a multi-paradigm programming language is well suited for this kind of mix-and-match approach....
Since we just learned about the multi-value monad in the previous article, how about we use it to solve the Blackjack scoring kata?...
Can a variable have more than one value? Of course the answer is no. But it sure would be useful in a lot of situations....
Python has many hidden gems that make writing code much cleaner and idiomatic. Today we will take a look at two built-in functions: any() and all()...