import time
time.sleep(0.1) # Wait for USB to become ready
print("Hello, Pi Pico!")
import tm1637
from machine import Pin
disp = tm1637.TM1637(clk=Pin(0), dio=Pin(1))
while 1:
value=int(input("key in value:"))
if value<=9999 and value>=-999:
disp.number(value)
else:
print("out of range")