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 करता है।
Latest Current Affairs 2026 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad