Computer Science, asked by mrgoodb62, 1 month ago

Q. find output of the co,de.
def check(n1=1,n2=2):
n1=n1+n2
n2+=1
print(n1,n2)
check()
check(2,1)
check(3)

no spam❌​

Answers

Answered by lata40386
1

Answer:

Q 12. find output of the cod.e.

def check(n1=1,n2=2):

n1=n1+n2

n2+=1

print(n1,n2)

check()

check(2,1)

check(3)

sol. output

3 3

3 2

5 3

hope it helps you!!

Similar questions