The cobras were spotted by children in the playground of the school at Dhupguri and soon rescued by the snake activists.
Two cobras were found in a classroom of a school in West Bengal's Jalpaiguri district, officials said on Monday.
The cobras were spotted by children who came to play in the playground of the school at Dhupguri on Sunday and they alerted the elders.
The venomous snakes were believed to have entered the classroom from the adjoining shrubs as the school is closed since March 16 due to the COVID-19 pandemic.
They had also laid 30 eggs, the officials said.
Local environmental NGO Nature and snake activists came to the spot and rescued the snakes and handed them to the forest department, the sources said.
The snakes were taken to the local forest department rescue centre and later released in forest, the officials added.