Simulator In Python