Exemple #1
0
def btn5_action():
    if state == 0:
        TTTruck.undo()
    elif state == 1:
        TTTruck.loop_rate(random.random() * 4)
    elif state == 2:
        pass
    elif state == 3:
        pass
Exemple #2
0
def _(event):
    TTTruck.loop_rate(random.random() * 4)