import dht,machine,time
from machine import Pin
from time import sleep  

x = dht.DHT22(Pin(14))
x.measure()

while True:
    x.measure()
    temp = x.temperature()
    
    print(str(temp))

    sleep(1)