Contributions
Article
You have a function with simple but branched logic: depending on a pair of conditions โ a different result is returned. To automate such checks, you will have to write dozens of examples โ and here arises the question: where to store them and how to conveniently run them? I will show an example of such a function and three ways to organize automated tests.
Article
In Python 3.14, a new language syntax extension appeared โ template strings (t-strings). Let's consider what they are, why they were made, and how to work with them: example of secret_safe template rendering.