text: North Korea has limited resources (money) to fund these programs.  Iran has all the money it needs from its oil sales.  They claim the nuclear power is for electricity, but they have all the oil they will ever need and sell the bulk of it.