Can anyone ID this?

I'm in the Philippines. Guard at my condo is selling it for 300 Php (around 5 USD) but does not know what it is lol. I'm pretty sure it's a snake. Now I'm thinking if I should buy it and if so, how should I take care of it?