The boy was identified as Lokesh Kumar Bisen (12), a student of Mohgaon Government Middle School, police said.
The snake came out of a hole in the wall, they said, adding that the boy died before reaching the hospital.
The district administration has suspended the school's headmaster and three teachers for negligence. The deceased's family would get aid of Rs Rs 50,000 from the local administration.