Computer Science, asked by sujatakumaridolly, 10 months ago

Consider the following code fragment:
while
n = 3
print n == 3
a) what will be the output of above code?
b) what is the reason behind this output?

Answers

Answered by deepak97395
2

Answer:

it will give error

Explanation:

because (==) used for checking that one thing is equal to another or not (variables)

correct code for python

n = 3

while n == 3

print n

Similar questions