fork download
  1. X = 0
  2. Y = 0
  3.  
  4. Result1 = X >= 0 and Y >= 0 and X < 8 and Y < 8;
  5.  
  6. Result2 = X >= 0 & Y >= 0 & X < 8 & Y < 8;
  7.  
  8.  
  9. str1 = "{}{}".format("One: ", Result1)
  10. str2 = "{}{}".format("Two: ", Result2)
  11.  
  12. print (str1)
  13. print (str2)
Success #stdin #stdout 0.1s 10104KB
stdin
Standard input is empty
stdout
One: True
Two: False