What will be the output of the following code:
def my_function(a, b):
return a / b
result = my_function(4, 2)
print(result)
return a / b
result = my_function(4, 2)
print(result)
A. 2
B. 1
C. 0.5
D. 4
Answer: Option A
Join The Discussion