About python:
Explain what is Polymorphism and provide a code snippet
Answer-
Polymorphism in python-
Example of code snippet-
def Example(a, b, z): // create function
return a + b+ z
print(Example(5, 6, 2)) // driver code
print(Example(2, 5, 1))
Note- Please do upvote, if any problem then comment in
box sure I will help.
Get Answers For Free
Most questions answered within 1 hours.