Created
August 3, 2017 14:09
-
-
Save uktechreviews/3c35f32c58488f174b38504f56ff5a62 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from microbit import * | |
import random | |
messages =["Message 1 goes here", | |
"Message 2 goes here", | |
"Message 3 goes here" | |
] #You can have as many messages as you would like | |
my_message=random.choice(messages) | |
display.scroll(my_message) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment