hello, world

参考: Programming the BBC micro:bit: Getting Started with MicroPython, p.20

from microbit import *

while True:
    display.scroll("hello, world")
    display.show(Image.HEART)
    sleep(2000)

文字列は一重二重のどちらの引用符で括ってもよい。
sleep() の単位はミリ秒。