What’s another weight loss pill name?

I’m just wondering this, because when I went to get my Phentermine rx today the dr wrote “phentermine” on the paper but then she crossed out phentermine and wrote something with a M. I couldn’t read it but the pills look the same.