Report Bug

Qus

What is the output of the following code ?

def disp(*arg):
    for i in arg:
        print(i)
disp(name="Rajat", age="20")
Qus

निम्नलिखित कोड का आउटपुट क्या होगा?

def disp(*arg):
    for i in arg:
        print(i)
disp(name="Rajat", age="20")


A. TypeError
B. Rajat 20
C. Name age
D. None of these


Solution
A. TypeError



CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad