In JAVA the below code gives output as "hi"
boolean b=True;
if (b=False)
{
SOP("hello");
}
else
{
SOP("hi");
}
The same login in Python-2.7 does not work. Why???????
b=True
if (b=False):
print "hello"
else:
print "hi"