prize17-7, Exercise 3: Tempos for a bar of five for bpm in (120, 150): bar = 5 * 60 / bpm print(bpm, "bpm:", round(bar, 2), "s per bar;", round(60 / bar, 1), "bars a minute") Output (run and checked): 120 bpm: 2.5 s per bar; 24.0 bars a minute 150 bpm: 2.0 s per bar; 30.0 bars a minute Why it works: a bar of five beats lasts 5 times the length of one beat (60 / bpm seconds). Dividing 60 by that length gives bars per minute, which is the same as bpm / 5. Care: these tempos are examples, not measurements of any record.