Source

talks / python-gotchas / src / compare.py

Full commit
1
2
3
4
5
6
7
8
9
import nums

print(nums.a)
# => 1
print(nums.b)
# => 2

print(nums.b < nums.a)
# => True