Which operator will return True if both the operands are true?

  • and
  • not
  • or
  • xor
The 'and' operator in Python returns True if both of its operands are true. It performs a logical AND operation. For example, True and True evaluates to True, while True and False evaluates to False.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *