Computer Science

What will the following code result into ?


n1, n2 = 5, 7
n3 = n1 + n2
n4 = n4 + 2
print(n1, n2, n3, n4)

Python Funda

29 Likes

Answer

The code will result into an error as in the statement

n4 = n4 + 2
, variable n4 is undefined.

Answered By

11 Likes


Related Questions