[Solved] Using Functions to Converting miles to kilometers [closed]


def convert_distance(miles):
    km = miles * 1.6 
    return km
result = convert_distance(55)
print("The distance in Kilometers is " + str(result))
print("The round-trip in Kilometers is " + str(result*2))

0

solved Using Functions to Converting miles to kilometers [closed]