Affine spaces/Dimension and isomorphic/Exercise

Let and be affine spaces over the field . Show that the spaces are isomorphic if and only if their dimensions coincide.