Well, these types of problems don&#x27;t exist in languages that correctly distinguish floating-point numbers and integers as two separate incompatible things.<p>I think that this isn&#x27;t really a problem with integer division (which is <i>fine</i>), but with not having a good type system. Even if Python allowed you to optionally declare the types of your arguments, and silently converted like C, this wouldn&#x27;t be an issue.