Sie sind auf Seite 1von 1

from microbit import*

steps= 0

while true:

if steps < 25:

if accelerometer.was_gesture("shake”)
steps += 1
display.show(str(steps))
display.show(str(steps))

Das könnte Ihnen auch gefallen