What will be the output of the following Python code:
a = 1
if (a = 2):
print("value of a is", a)
1
value of a is 2
2
value of a is 1
3
IOError
4
Syntax Error
5
None of the above
What will be the output of the following Python code:
a = 1
if (a = 2):
print("value of a is", a)