In a hypothetical scenario, the countdown timer for a race has random intervals between the counts, to prevent premature starting, e.g.
3 (0.82 seconds pass), 2 (0.67 seconds pass), 1
Write a program (or function) that prints the 3 numbers with a random time interval from 0.50 seconds to 1 second between each count.
- The program must output each number (3 , 2 , 1) with the random (any number between 0.50 and 1 to the hundredths; no hard-coding) time interval between each. The precision of the random interval must go out to the hundreds (e.g: 0.52). You are not required to output the interval, only the count.
- As @JoKing clarified, I mean uniformly random (you can use the pseudo-random generator of your language.
- As many people have clarified, I really mean any 2-decimal number between 0.5 and 1. (0.50, 0.51, etc, all the way to 0.98, 0.99, 1)
This is code-golf, so the program with the lowest byte count wins.