Here is another assertion that fails.
assert 1 - 0.8 - 0.2 == 0

The reason is that floating point operations have limited precision. So you can’t expect a and b to be exactly equal, but you can expect their difference to be really small.