Explain ionization-energy and electron-affinity trends in Group 1 and Group 17 elements.
Explain the trends in the ionization energies and electron affinities of the Group 1 and Group 17 elements.