Python में nested function क्या होती है?
What is a nested function in Python?
A
A function inside another function
B
Function with many loops
C
Function that cannot be called
D
Function without parameters
Explanation
Python में nested function का मतलब होता है:
एक function के अंदर दूसरा function define करना।
🔹 Example / उदाहरण:
def outer():
def inner():
print("Hello from inner function")
inner()
outer()
यहाँ inner() function, outer() के अंदर defined है — यही nested function कहलाता है।
Correct Answer: A) A function inside another function