from microbit import * import time while True: temp = temperature() display.scroll(temp) time.sleep(1)