• Logic operators
     Help
  • What will the output of the following code be? x = 5; y = 10; print(x > 5 and y < 15)
    True
  • If a = True and b = False, what is the result of a or b?
    True
  • Which logical operator is used to reverse the boolean value of an expression?
    not
  • Unlock this slideshow and over 4 million more with Baamboozle+
    Try slideshows
  • Your experience on this site will be improved by allowing cookies.