A shorter explanation is that the fraction 1/10 cannot be exactly represented as a binary fraction.
The reason it looks exact earlier is that some less significant trailing digits are ignored by the print function.