Decimal text can be converted with float. Once the value is numeric, multiplication scales it instead of repeating characters.
liters = float("3.5")
cups = liters / 0.25
print(cups) # 14.0Converting first makes a decimal quantity available for unit arithmetic.
Convert the supplied kilometers to a numeric value named kilometers. Set meters to the equivalent distance in meters.