Servos are a bit like motors, except their position is fixed. This is useful for building an arm mechanism that grabs cubes, or anything else that has fixed states that it needs to be in.

You can control servos in a similar way to motors:

import robot
import time

R = robot.Robot()

while True:
    R.servos[1] = -50
    R.servos[1] = 50