Examveda

What will be the output of the following code:
def my_function(a, b):
  return a / b
result = my_function(4, 2)
print(result)

A. 2

B. 1

C. 0.5

D. 4

Answer: Option A


This Question Belongs to Python Program >> Functions In Python

Join The Discussion

Related Questions on Functions in Python