Baheeg Training and Test Exam

Python Advanced level

Score: 0 / 0 answered

Progress: 0 of 815 qs

time elap: 00:00

Question 1: What is the output of the following Python code?

def func(x, y, *args, z=0):
    return x + y + sum(args) + z

print(func(1, 2, 3, 4))