t428.py 572 B

123456789101112131415161718
  1. print ( True or False ) == True
  2. print ( True or True ) == True
  3. print ( False or False ) == False
  4. print ( True and False ) == False
  5. print ( True and True ) == True
  6. print ( False and False ) == False
  7. print ( not True ) == False
  8. print ( not False ) == True
  9. print ( not True or False ) == ( (not True) or False )
  10. print ( not False or False ) == ( (not False) or False )
  11. print ( not True and True ) == ( (not True) and True )
  12. print ( not False and True ) == ( (not False) and True )
  13. print ( not True and not False or False ) == ( ( (not True) and (not False) ) or False )