intermediate python lesson 4: Exercise Polymorphism
In this exercise, you'll use the principles of polymorphism and the practical tactic of "magic" methods to define a two-dimensional Point class that "acts like" a number, in that it can be added to other Point objects, and that "acts like" text, in t...
philipdevblog.hashnode.dev2 min read