Report Bug

Qus

What will be the output of the following python code?

def printMax(a,b):
    if a>b:
        print(a, "is maximum")
    elif a==b:
        print(a, "is equal to ",b)
    else:
        print(b, "is maximum")
printMax(3,4)
Qus

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

def printMax(a,b):
    if a>b:
        print(a, "is maximum")
    elif a==b:
        print(a, "is equal to ",b)
    else:
        print(b, "is maximum")
printMax(3,4)


A. 3
B. 4
C. 4 is maximum
D. None of these


Solution
C. 4 is maximum



Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad