It's Autumn! Prices fall like leaves! - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
List basics
Lists with if statements and loops
Lists in functions
Summary
25. Exercise 3

Instruction

That's right! And now, the final question!

Exercise

Write a function named miles_to_km() that takes a list as an argument and modifies the original list so that each element is multiplied by 1.6 to convert from miles to kilometers.