Computer Science, asked by funnyboi312312, 4 months ago

Write down the Program in Python to convert miles entered by the user into kilometers.
1 Mile= 1.6 Kilometeres

Answers

Answered by dahiyasaanvi
6

Answer:

1.600 kilometers is equal to 0.994 miles

Explanation:

kilometers = float(input('How many kilometers?: '))

How many kilometers?: 1.6

conv_fac = 0.621371

miles = kilometers * conv_fac

print('%0.3f kilometers is equal to %0.3f miles' %(kilometers,miles))

Similar questions