Because a coastal city's climate is moderated by the ocean, it varies little in temperature. The specific heat of water is very high (this means that it takes a lot of energy to change the temperature) and this means that the communities near the ocean do not change in temperature either. Winds usually blow in from the ocean (at least on the West coast of the United States) and keep it at about the same temperature year round.
An inland city has more variations according to seasons and its variations will be much more increased.
in a costal city the effect of sea & land breezes make temperature moderate . if the city is nearer or farer from the equater the temperature sometimes depends
in the inland cities depending on the latitudes the temperature varies.as the city is nearer to the equator the temperature increases and farer temperature decreases