A friend drops a ruler and you catch it. The farther it falls, the slower you were. You will turn the distances into times with , and find your average reaction time. Your nerves and muscles set this time.
The idea. Change centimetres to metres, then use the formula with .
Your tasks.
time, return the time in seconds for a fall of d_cm centimetres.times to the time for every catch in catches_cm.average_ms to the mean of the times, in milliseconds.Have you tried it?
Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.
Log in to join the discussion.
Loading…
With Standard, you also open 3 more problems and 1 Python lab. Everything you have used here stays free, always.