Computer Science, asked by pinkigupta4486, 5 months ago

What will be the following code result into?n1,n2=5,7
n3= n1+n2
n4= n4+2
Print( n1,n2,n3,n4)

Answers

Answered by crazykairos
4

Answer:

5,7,12,14

Explanation:

it should be n4=n3+2( question error)

if the write the code as n4=n4+2(it will show a name error)

Answered by Priyalaks
2

Answer:

5,7,12,14

Explanation:

code:

n1,n2=5,7

n3=n1+n2

n4=n3+2

print(n1,n2,n3,n4)

Result

5,7,12,14

Similar questions