fork download
  1. string1 = 'hi'
  2. string2 = 'hello'
  3. print('hi' == string1)
  4. print('hi' is string1)
  5. print('hi' == string2)
  6. print('hi' is string2)
Success #stdin #stdout 0.01s 9024KB
stdin
Standard input is empty
stdout
True
True
False
False