<div>Hi!<br></div><div><br></div><div>> Similar errors happend with other numers as well, for example 1.3599999999999999 and 1.6800000000000002.<br></div><div><br></div><div>I'd love to write you a long explanation on this subject. But there's already a huge section on the documentation about it: <a href="https://docs.python.org/3.7/tutorial/floatingpoint.html">https://docs.python.org/3.7/tutorial/floatingpoint.html</a><br></div><div><br></div><div>Hope it helps, don't hesitate to ask again in details if something is not settled after reading it.<br></div><div><br></div><div>Bests,<br></div><div class="protonmail_signature_block"><div class="protonmail_signature_block-user"><div>-- <br></div><div>Julien Palard<br></div><div>https://mdk.fr<br></div></div><div class="protonmail_signature_block-proton protonmail_signature_block-empty"><br></div></div><div><br></div>