Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Get random name from a list on microbit
from microbit import *
import random
names = [
"Mary", "Yolanda", "Damien", "Alia",
"Kushal", "Mei Xiu", "Zoltan"]
display.scroll(random.choice(names))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment