fork download
  1. # Python Identity Operator
  2. a=10
  3. b=20
  4. print("is ",a is b)
  5. print("is not", a is not b)
  6.  
  7. a=10
  8. b=10
  9. print("is ",a is b)
  10. print("is not", a is not b)
  11.  
Success #stdin #stdout 0.02s 9248KB
stdin
Standard input is empty
stdout
is  False
is not True
is  True
is not False