Python mind-teaser: Make the function return True

Hi everyone! 👋 I was browsing /r/python and came across this post: The challenge was easy. Provide such an input that if 1 is added to it, it is the instance of the same object but if 2 is added it is not. Solution 1: Custom class The way I personally thought to solve this challenge was …

Python mind-teaser: Make the function return True Read More »