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

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation