9-Foot-Long Python Discovered on School Property, Teacher Uses It as Lesson

"It just so happens that the topic we're teaching is related to a surprise they had for me outside," a teacher from the Florida high school said.

A 9-foot-long Burmese python was caught slithering around a Florida high school, but instead of freaking out, a teacher used it as the perfect opportunity to teach the class a lesson.

Read: Horrified Parents Watch Alligator Chase Their Children Around the Neighborhood

Earlier this week, an enormous Burmese python was spotted outside Homestead Senior High School, and quickly apprehended by Miami-Dade school officers.

Never a dull moment @miamischoolspd officers capture snake outside of a school. Great job #schoolsafety #safetyfirst pic.twitter.com/1xPG3SjYP1

— Community Outreach (@mySchoolCOP) September 14, 2016

Instead of keeping his students away from the scene, Joe Gonzalez, a teacher at the school, brought his entire class out to meet the unexpected visitor.

"It just so happens that the topic we're teaching is related to a surprise they had for me outside," Gonzalez told WSVN. "[Students] were able to see it here in real life, an example of invasive species coming onto our territory."

Read: Students Surprised By Family of Ducks Who Waddle Through Hallways And Out of the School

Eventually, Miami-Dade Fire Rescue's Venom Unit came to remove the animal from the scene and turned it over to Florida Fish and Wildlife.

Watch: Gator Takes a Stroll Around College Campus Looking to Mingle With the Co-Eds