ThreadCan anyone explain this?
3 messages · –G Python considers empty string as false and non-empty strings as true In python , when working on strings , the AND operator returns the right side string if the left side one is true. And the OR operator return the left string if it true. In the given statement first the and operator is processed and then the or operator. Hence the answer is the string HiC