I used this in my Speech Communication courses as a fine example of a “variant” pronunciation. Both are perfectly acceptable, and may be regionally or ethnically influenced. Here in Illinois, it’s usually “ant.” But among African-American speakers, “ahnt” is very often heard.
While it’s not a rule without exception, true variants are at least minimally available from the spelling. What some consider their personal pronunciation variants are actually errors. There is no way to get “saMwich” from sandwich. It just isn’t available from the spelling. But English is an amalgam of several languages, so spelling isn’t the only criterion.
Final thought: Many people don’t seem to know the difference between pronunciation and articulation. It’s really easy - pronunciation is a matter of knowing which sounds (phonemes) to make, while articulation is actually making those sounds.
Quiz on Friday. Class dismissed.