With help of https://exercism.org/tracks/python/exercises/meltdown-mitigation/solutions/adbeep as I didn't understand the math and logic behind the +/- 10% instruction.