Snakes are dumb, but make easy pets. I have a corn snake, a cat, a 50 gal tank, and a 5 gal tank. I've also had dogs, rodents, and chickens.
Snakes are SUPER low maintenance. I feed my snake once every 10 days, and pick up poop/pee once every 10 days. I change the water every day, and I completely change the substrate twice a year. You can also choose to have live plants in the cage.
In return I get an animal that will cuddle on me while I can focus on other things, like reading or drawing.
Snakes are really dumb, and will never be as smart as dogs. The most "training" you can do with a snake is get it accustomed to your smell and being handled. A snake that isn't handled very often starts to associate opening tank lids and human hands/scents with feeding and might be prone to being bitey. I don't ever see snakes playing, unlike dogs or cats or even fish. Because snakes don't eat very often treats are not a concept. You can train fish to do tricks because doing x trick gets them y treat. For snakes the most you can do is train the snake to equal hands with food.