Examveda

What is the output of the following code:
def power(x, n=2):
  return x ** n
result = power(3)
print(result)

A. 9

B. 6

C. 27

D. 32

Answer: Option A


This Question Belongs to Python Program >> Functions In Python

Join The Discussion

Related Questions on Functions in Python