Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
a = "wtf"
b = "wtf"
print(a is b) # True

a= "wtf!"
b= "wtf!"
print(a is b) # False

a,b = "wtf!", "wtf!"
print(a is b) # True
Python 3.6.1 (default, Dec 2015, 13:05:11) [GCC 4.8.2] on linux