What is the output of the following Python code snippet?
def f(a, b):
return a * b
print(f(b=5, a=3))
return a * b
print(f(b=5, a=3))
Correct answer
A. 15
A. 15
Keyword arguments can be passed in any order.
Asked in: Python Interview Functions
https://docs.python.org/3/tutorial/controlflow.html#defining-functionsNot sure why the answer is A? Ask here and get an explanation.