結果 : how to implement monte carlo simulation in python