Write a Python program to control the servo