Deep-ML is a free, open-source machine learning challenge platform. Practice ML coding problems, work with real datasets in labs, and learn through interactive articles.
Please enable JavaScript to use the full platform.
A trip is made of legs that are all the same distance, each driven at its own speed. Write average_speed(speeds): one speed for the whole trip.
average_speed(speeds)