from microbit import *

while True:
    if button_a.is_pressed():
        display.scroll("There is a good service on the Underground today!")
    elif button_b.is_pressed():
        display.scroll("The next train to London Bridge is in 5 minutes")
    else:
        display.clear()
