Q. What will the following code result into?

 

n1, n2 = 5, 7

n3 = n1 + n2

n4 = n4 + 2

print(n1, n2, n3, n4)

 

Answer =

 

It will give error that ‘n4’ is not defined. In line 3.

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post