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....
One of the frustrating things for Python developers is that there is no block comment functionality where you can comment out multiple lines in one go. Today on the Python Lab, we take a look at how we can use a small hack to achieve this functionality....