and operation overloading in python
I know logically and is used for booleans evaluating to true if both the
conditions are true, but I have a problem with the following statement:
print "ashish" and "sahil"
it prints out "sahil"? please explain it and other ways and is oveloaded
No comments:
Post a Comment