Write km_to_m(km) that converts kilometres to metres.
km_to_m(km)
km_to_m(3) → 3000
km_to_m(0.5) → 500
Submit runs 4 tests, including hidden edge cases.
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.