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