How would the tendency to gain electrons change on moving from left to right in a period of the periodic table?
The tendency to gain electrons increases on moving from left to right in a period of the periodic table, because the metallic character decreases from left to right, and the non-metallic character increases. Also, a non-metal accepts electrons.