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()...
Happy new year 2024 to all readers of Playful Python! Hope this new year brings with it a lot of new python learning. And what better way to bring in the new year...
The closing keynote at PyCon India 2023 was delivered by Dr. Shailesh Kumar, Chief Data Scientist for AI/ML at Reliance Jio. This was a very interesting talk that I want to expand on a bit more in this article....