Choose the best answer for the given question from the options.
Assertion (A): A current-carrying solenoid tends to contract along its length.
Reason (R): Two straight parallel metallic wires carrying current in same direction attract each other.
Reason (R): Two straight parallel metallic wires carrying current in same direction attract each other.