I hooked up a servo onto my RaspberryPi 3, and i want to control it. I am currently using pygame library. It is installed and is a latest version. This is my code :