Skip to main content

Latency distributions · 5 minutes

Find the request at the 90th percentile

Get feedback on your answer. No account needed.

What does this Python code print?

from math import ceil
times = [10, 11, 12, 13, 14, 15, 16, 17, 40, 90]
rank = ceil(0.9 * len(times))
print(times[rank - 1])

Enter the output on one line.

Your answer
Need a small hint?

Rank one is at Python index zero.

This helps us choose when to schedule your next review.