[Type B] Working with Functions – Chapter 3 Sumita Arora

|
Table of Contents

4. What will the following function return?

Python
def addEm(x, y, z):
    print(x + y + z)

Solution: The function addEm will not return any value explicitly. It will only print the sum of x, y, and z.

Leave a Reply

Your email address will not be published. Required fields are marked *