def update(self, t, dt):
        if 0.02 < random.random():
            self.a += random.randint(-1, 1) * pi / 8
        dx = cos(self.a)
        dz = sin(self.a)
        self.x += dx * dt
        self.z += dz * dt
dataset/ETHPy150Open fogleman/pg/examples/lego.py/LegoMan.update/swapped operands of `<`