One: the difference between is and ==
1. is compare memory address
1)id() —- get memory address
2 )Small data pool:
a. The small data pool range of numbers is -5 ~ 256
b. String:
One: the difference between is and ==
1. is compare memory address
1)id() —- get memory address
2 )Small data pool:
a. The small data pool range of numbers is -5 ~ 256
b. String: