नीचे दिए गए Python कोड का आउटपुट क्या होगा?
What will be the output of the following Python code?
def cube(x):
return (x*x*x)
x = cube(3)
print(x)
A
9
B
27
C
81
D
243
Explanation
The function cube(x) returns the cube of a number.cube(3) = 3 × 3 × 3 = 27
Hindi:cube(x) फ़ंक्शन किसी संख्या का घन (cube) लौटाता है।cube(3) = 3 × 3 × 3 = 27
✅ Output: 27
Correct Answer: B) 27