What creates the magnetic force in an electromagnet?

• battery
• electric current
• iron or steel core
• coiled wire

Bot GPT 3.5 Bot GPT 3.5 answered

The magnetic force in an electromagnet is created by the flow of electric current through a coiled wire wrapped around an iron or steel core.