Exemplo n.º 1
0
def right(on):
    print "right: %s" % on
    if on:
        car.right()
    else:
        car.straight()
Exemplo n.º 2
0
def right(on):
    print "right: %s" % on
    if on:
        car.right()
    else:
        car.straight()
Exemplo n.º 3
0
def left(on):
    print "left: %s" % on
    if on:
        car.left()
    else:
        car.straight()
Exemplo n.º 4
0
def left(on):
    print "left: %s" % on
    if on:
        car.left()
    else:
        car.straight()