x=(100+1.0/3)-100
y=1.0/3
z=1+1.0/3-1
x, y, z clearly have the same values mathematically, but
print(x==y)
print(x==z)
print(y==z)
generate False values for all.
Is there any way to make them equal to each other in python? I'm not quite sure why they're not considered same. I'm aware that rounding off would be the cause of it, but I'm not sure why that happens in different ways for x, y, z.