Q. What will the following function return?
def addEm(x, y, z):
print (x + y + z)
Answer =
It is a void function.
So, it will return None.
If we pass values of x,y, and z in function. It will give an output that is x + y + z.
Answer =
It is a void function.
So, it will return None.
If we pass values of x,y, and z in function. It will give an output that is x + y + z.
Post a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )