Python introduces two new builtins:
intu
— a unit-aware integer (a subclass ofint
)floatu
— a unit-aware float (a subclass offloat
)
Together, these are called u-numbers.
They behave like normal numbers but carry units, and arithmetic automatically respects those units.