Monte Carlo solution for "Research Software Engineering With Python"