Question from the Python test

Write a Python function that takes 4 arguments and prints them in the console.

Medium

What will be the output of the following code?

def my_func(a, b, c, d):
    print(a, b, c, d)

args = (1, 2)
kwargs = {'c': 3, 'd': 4}
my_func(*args, **kwargs)

Author: Amani BEN HADJ BRAIEKStatus: PublishedQuestion passed 87 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!