41103a053 黃馨怡 Q1 計數器 from microbit import * import random # 匯入 random 套件 while True: if button_a.was_pressed(): display.show(str(random.randint(5, 10))) # 亂數產生 5 - 10 Q2 Receive data ![Uploading file..._c3idlcjxa]() ![Uploading file..._5xlhhbhxq]()
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up