ESP8266 with DHT11 does not serial print values

Hi @supriya3198

"nan" means "not a number", which tells you that your sensor did not provide a number.
Post a schematic of your project.

RV mineirin