import machine
import random
import time
import tm1637

display = tm1637.TM1637(clk=machine.Pin(16), dio=machine.Pin(17))

display.scroll("Pico Thermometer", delay=200)
time.sleep(1)
display.show('    ')
time.sleep(1)

temp = random.randrange(10,15)

while True:
    temp = random.randrange(10,25)
    display.temperature(temp)
    time.sleep(10)
BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT
4-Digit Display