Vidyalelo
Python · Q140

Functions in Python

Programming · Python · question 140

Q140

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

A.
9
Answer
B.
6
C.
27
D.
32

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board