which electromagnet is stronger and why

Answer:
A Nail with more Wrapps Of Wire, Because for every Centimetre increase in coil the Electromagnetic Energy is Proportionally increased,
Or
A Nail with a Coiled wire and More Battery Voltage