def convert_miles2km() -> None:
    """Use map to convert miles in km."""

    miles = [12, 13, 14]

    def mil2km(mile):
        return mile * 1.6

    km1 = list(map(mil2km, miles))
    km2 = list(map(lambda value: value * 1.6, miles))

    print(km1)
    print(km2)