Usually, the Americans pronounce can’t as in [kent] while the British stick with [kant]! The same problem is with ‘can’. Don’t trust your English teacher every time, I had some bad ones too!
Just look up the words on Dictionary.com and you’ll hear the correct way to pronounce.
Cheers!