Report Bug

Qus

What is the output of the following code?

def s(n1):
    print(n1)
    n1=n1+2
n2=4
s(n2)
print(n2)
Qus

निम्नलिखित कोड का परिणाम क्या है?

def s(n1):
    print(n1)
    n1=n1+2
n2=4
s(n2)
print(n2)


A. 6 4
B. 4 6
C. 4 4
D. 6 6


Solution
C. 4 4



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