Tarun Sharmatapstechie.hashnode.dev·Aug 5, 2024Learn Python Magic Methods: A Simple ExplanationUnderstanding Magic Methods in Python Magic methods in Python, also known as dunder methods (because they have double underscores at the beginning and end of their names), allow us to define the behavior of our objects for various operations. They en...DiscussPython Interview Prep: Essential Concepts and Techniquescustom container
Khaleelhashnode.khaleel.dev·Aug 2, 2024You've been using Set wrong this whole time!Imagine you've built this cool bit of logic that relies on using a Set of objects. You've written the class yourself, and now you're passing objects into a set like so. class CleverClass: def __init__(self, name: str, data: dict[str, bool]) -> No...Discussdunder method