ShriRam Changed status to publish August 21, 2023
# A simple Python function to demonstrate
# Polymorphism
def add(x, y, z = 0):
return x + y+z
# Driver code
print(add(2, 3))
print(add(2, 3, 4))
ShriRam Changed status to publish August 21, 2023