Report Bug
Qus :

What is the output of following?

def test():
    return
print(test())

Qus

निम्न code का output क्या होगा?

def test():
    return
print(test())


A. 0
B. Error
C. None
D. Blank


Solution
C. None



Explanation
A return without a value returns None. <br><br> बिना value वाला return स्वतः None return करता है।



Report Bug