CJCoding With Joseph
15free / daySign inCreate account

Miles To Kilometres

Read a distance in miles as a decimal number, multiply it by 1.609344 and print one line in the form <miles> miles is <kilometres> km with the miles shown to one decimal and the kilometres to two. Input: one line, a number, read with a bare input() and no prompt.

Expected Output:

10.0 miles is 16.09 km

= newline. The output ends with a newline — print one after the last line.

Hints3 available
Topics:
User Input
📥 Auto-Input:
10\n
This input is automatically fed to your program's stdin
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Ctrl+Space to expand shortcuts (pr, inp, def)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.