hello world

from microbit import display
display.scroll("hello world!")

第一行:导入microbit包中的display模块

第二行:调用display模块中的scroll方法滚动显示"hello world!"

results matching ""

    No results matching ""