Physics Simulation Using Python Assert