polymorphism in python-
The word polymorphism means having many forms. In programming, polymorphism means same function name (but different signatures) being uses for different types.
Example of inbuild polymorphism-
sum(1,2,3,4) will give 10
sum([1,2,3]) willl give 6
-Here sum() is a function which supports polymorphism beacause it add all argument which we pass, it also supports list, tuple,or individual elements to add.
User defined polymorphism-