City A has very little variation in temperature over the year. City B has cold winters and Warm summers. Why is this?

City A has very little variation in temperature over the year City B has cold winters and Warm summers Why is this class=