結果 : how to create a simulation in python