Liang is most likely trying to increase the strength of the magnetic field when current flows through the circuit.
Coiling the wire creates a solenoid, which enhances the magnetic field generated by the current. This is because the coiled configuration allows the magnetic field lines to concentrate and strengthen within the coil compared to a straight wire.