Computer Science, asked by pawanpreetkaur5555, 6 months ago

3. (a) Predict the output of the following program. Also state which
concept of OOP is being implemented
def sum(x, y, z):
print "sum = ", x + y + z.
def sum(a, b):
print “sum=", a + b
sum(10,20)
sum(10, 20, 30)
Muthon with the followin​

Answers

Answered by praddyumanhada
0

Answer:

x+y+z=10+20+30=60

a+b=10+20=30

Similar questions