Miles away

Report a typo

Let's take your skill of converting miles to kilometers to the next level! Define a function that accepts the number of miles and returns this distance in kilometers.

Assume that one mile is approximately equal to 1.609 kilometers.

You don't have to handle input, just implement the function.

Sample Input 1:

100

Sample Output 1:

160.9

Sample Input 2:

14

Sample Output 2:

22.526
Write a program in Python 3
def mi_to_km():
pass
___

Create a free account to access the full topic