prize17-6, Exercise 2: Faster tempos for bpm in (240, 280, 320): ms = 60 / bpm / 2 * 1000 print(bpm, "bpm:", round(ms), "ms per eighth note") Output (run and checked): 240 bpm: 125 ms per eighth note 280 bpm: 107 ms per eighth note 320 bpm: 94 ms per eighth note Why it works: 60 / bpm is the length of a beat in seconds, dividing by 2 gives an eighth note, and multiplying by 1000 converts to milliseconds. The results are rounded to whole milliseconds. Care: 280 gives 107.14 and 320 gives 93.75, so rounding changes the last digit. For precise work keep the unrounded values.