Bouncing Ball Program In Python For Perfect