Iran learns from History
If you leave aside the President's recent remarks and take a look at Iran's actions alone, it is clear that she is, perhaps, taking the most sensible course for the preservation of her own sovereignty and her own security… In other words she's quite clearly drawn lessons from America's previous actions concerning modern warfare.
One of them is that she won't attack a nation with a possible nuclear deterrent. (North Korea)
Another is that she will make sure that the foreign assets are strictly controlled and, possibly, used for America's own purposes. (Iraq).
It'll be interesting to see how Iran continues to prepare in the coming months.