Ad
  • Custom User Avatar

    That's because 2.35 is the conversion factor from mpg to kpl of a US gallon. The kata is specifically asking about imperial gallons, which are larger than US gallons. It's better to just use the numbers provided in the kata rather than search online for a conversion factor anyway, otherwise you are likely to run into rounding errors.