Adafruit_DHT no longer works
I bought a DHT sensor with rpi a few weeks ago and have been using it without problem so far. But today it stopped working. When I run Adafruit_DHT, it just hangs. I tried with other GPIOs, but it hangs. What should I do to find whether the sensor is defective?