You need to be thankful for having a nice landlord. My advice would have been similar to mark's. First, I wouldn't have a snake unless things were clear with my landlord. However, if I did have a snake against apartment rules, I'd have kept quiet about it. I would have stored the cage in the back of the closet where the landlord wouldn't have noticed it and kept looking. If the snake returned, I'd have gotten the cage out and kept the snake again. If the snake didn't show up, I'd have mourned and gone on.
I realize that much depends on the landlord. I've heard of landlords who didn't consider any animal to be a pet if it lived inside a cage. This reasonable guideline was based on the idea that a snake or lizard in a cage was not going to damage the property in any way. The only animals considered pets were dogs and cats that might damage the floors with urine or damage other parts of the apartment by scratching or chewing.
On the other hand, I've been in a place that allowed only fish, small dogs, and cats. I didn't own snakes back then, and they said absolutely no snakes would be allowed.
Bill
-----
It's not how many snakes you have. It's how happy and healthy you can keep them.